src/dialogs/colorselector.cpp

changeset 1323
05b3e173c900
parent 1319
39d7a9642eea
child 1326
69a90bd2dba2
--- a/src/dialogs/colorselector.cpp	Sat Mar 24 12:09:26 2018 +0200
+++ b/src/dialogs/colorselector.cpp	Sat Mar 24 12:34:20 2018 +0200
@@ -53,8 +53,8 @@
 
 			if (color == MainColor)
 			{
-				faceColor = ::config->mainColor();
-				faceColor.setAlphaF(::config->mainColorAlpha());
+				faceColor = config::mainColor();
+				faceColor.setAlphaF(config::mainColorAlpha());
 			}
 
 			QString edgeColor = luma(faceColor) < 80 ? "white" : "black";

mercurial