diff -r b78b6cf02213 -r 99085cfaeabd src/guiutilities.h --- a/src/guiutilities.h Sun Mar 05 20:26:56 2017 +0200 +++ b/src/guiutilities.h Mon Mar 06 00:35:47 2017 +0200 @@ -26,14 +26,10 @@ * * Contains generic state-aware GUI functions. */ -class GuiUtilities : public QObject, public HierarchyElement +namespace GuiUtilities { - Q_OBJECT -public: - explicit GuiUtilities (QObject* parent); - - QIcon makeColorIcon (LDColor ldcolor, int size); - void fillUsedColorsToComboBox (class QComboBox* box); + QIcon makeColorIcon(LDColor ldcolor, int size); + void fillUsedColorsToComboBox(Model* model, class QComboBox* box); QColor mainColorRepresentation(); QVector loadQuickColorList(); -}; +}