src/dialogs/colorselector.cpp

changeset 1012
413ecd6b9801
parent 1010
969b48eddd6b
child 1014
f0a8ecb6a357
child 1215
77a0270352a3
--- a/src/dialogs/colorselector.cpp	Sat Oct 24 13:19:27 2015 +0300
+++ b/src/dialogs/colorselector.cpp	Wed Nov 18 19:05:22 2015 +0200
@@ -55,8 +55,8 @@
 
 			if (ldcolor == MainColor)
 			{
-				color = QColor (m_config->mainColor());
-				color.setAlphaF (m_config->mainColorAlpha());
+				color = QColor (Config->mainColor());
+				color.setAlphaF (Config->mainColorAlpha());
 			}
 
 			QString color2name (luma (color) < 80 ? "white" : "black");

mercurial