--- 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");