src/dialogs/colorselector.cpp

changeset 1017
fc1c13db9618
parent 1014
f0a8ecb6a357
child 1072
9ce9496427f2
--- a/src/dialogs/colorselector.cpp	Sat Feb 13 04:14:43 2016 +0200
+++ b/src/dialogs/colorselector.cpp	Sun Feb 14 03:19:28 2016 +0200
@@ -55,8 +55,8 @@
 
 			if (ldcolor == MainColor)
 			{
-				color = QColor (Config->mainColor());
-				color.setAlphaF (Config->mainColorAlpha());
+				color = QColor (m_config->mainColor());
+				color.setAlphaF (m_config->mainColorAlpha());
 			}
 
 			QString color2name (luma (color) < 80 ? "white" : "black");

mercurial