src/dialogs/colorselector.cpp

changeset 1224
5a31b6d4bf81
parent 1222
34def2630300
--- a/src/dialogs/colorselector.cpp	Thu Jan 04 22:42:01 2018 +0200
+++ b/src/dialogs/colorselector.cpp	Thu Jan 04 22:52:04 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