--- a/src/dialogs/colorselector.h Thu Feb 23 23:36:59 2017 +0200 +++ b/src/dialogs/colorselector.h Sat Feb 25 14:30:10 2017 +0200 @@ -34,8 +34,8 @@ private: class Ui_ColorSelUi& ui; - QMap<int, QPushButton*> m_buttons; - QMap<QPushButton*, int> m_buttonsReversed; + QMap<LDColor, QPushButton*> m_buttons; + QMap<QPushButton*, LDColor> m_buttonsReversed; bool m_firstResize; LDColor m_selection;