diff --git a/src/Gui/Colors.cpp b/src/Gui/Colors.cpp index 32d522bcd..4f2c36110 100644 --- a/src/Gui/Colors.cpp +++ b/src/Gui/Colors.cpp @@ -381,7 +381,7 @@ GCColor::themes() return allThemes; } -ColorEngine::ColorEngine(GlobalContext *gc) : gc(gc), defaultColor(QColor(Qt::white)) +ColorEngine::ColorEngine(GlobalContext *gc) : defaultColor(QColor(Qt::white)), gc(gc) { configChanged(CONFIG_NOTECOLOR); connect(gc, SIGNAL(configChanged(qint32)), this, SLOT(configChanged(qint32))); diff --git a/src/Gui/Colors.h b/src/Gui/Colors.h index 484c501d9..693be0804 100644 --- a/src/Gui/Colors.h +++ b/src/Gui/Colors.h @@ -24,6 +24,8 @@ #include #include #include +#include +#include // A selection of distinct colours, user can adjust also