--- a/src/dialogs/colorselector.cpp Sun Sep 06 20:45:51 2015 +0300 +++ b/src/dialogs/colorselector.cpp Tue Sep 22 00:59:21 2015 +0300 @@ -59,7 +59,7 @@ color.setAlphaF (m_config->mainColorAlpha()); } - QString color2name (Luma (color) < 80 ? "white" : "black"); + QString color2name (luma (color) < 80 ? "white" : "black"); button->setAutoFillBackground (true); button->setStyleSheet (format ("background-color: rgba(%1, %2, %3, %4); color: %5", color.red(), color.green(), color.blue(), color.alpha(), color2name));