diff -r c1b60c7d5135 -r b2fa5f89798a src/dialogs/colorselector.cpp --- a/src/dialogs/colorselector.cpp Mon Aug 31 22:40:49 2015 +0300 +++ b/src/dialogs/colorselector.cpp Mon Aug 31 23:18:17 2015 +0300 @@ -21,9 +21,10 @@ #include #include #include +#include "../colors.h" +#include "../guiutilities.h" #include "../main.h" #include "../mainwindow.h" -#include "../colors.h" #include "../miscallenous.h" #include "colorselector.h" #include "ui_colorselector.h" @@ -139,7 +140,7 @@ ui.colorLabel->setText (format ("%1 - %2", selection().indexString(), (selection().isDirect() ? "" : selection().name()))); - ui.iconLabel->setPixmap (MakeColorIcon (selection(), 16).pixmap (16, 16)); + ui.iconLabel->setPixmap (guiUtilities()->makeColorIcon (selection(), 16).pixmap (16, 16)); #ifdef TRANSPARENT_DIRECT_COLORS ui.transparentDirectColor->setEnabled (selection().isDirect());