src/dialogs/colorselector.cpp

changeset 1215
77a0270352a3
parent 1012
413ecd6b9801
child 1217
314e12e23c3a
--- a/src/dialogs/colorselector.cpp	Thu Jan 04 19:24:40 2018 +0200
+++ b/src/dialogs/colorselector.cpp	Thu Jan 04 19:40:16 2018 +0200
@@ -55,8 +55,8 @@
 
 			if (ldcolor == MainColor)
 			{
-				color = QColor (Config->mainColor());
-				color.setAlphaF (Config->mainColorAlpha());
+				color = QColor (config.mainColor());
+				color.setAlphaF (config.mainColorAlpha());
 			}
 
 			QString color2name (luma (color) < 80 ? "white" : "black");

mercurial