--- a/src/glcompiler.cpp Sun Mar 05 20:26:56 2017 +0200 +++ b/src/glcompiler.cpp Mon Mar 06 00:35:47 2017 +0200 @@ -156,7 +156,7 @@ if (polygonOwner->color() == MainColor) { // If that also is the main color, then we whatever the user has configured the main color to look like. - color = guiUtilities()->mainColorRepresentation(); + color = GuiUtilities::mainColorRepresentation(); } else { @@ -199,7 +199,7 @@ { // The color was unknown. Use main color to make the polygon at least not appear pitch-black. if (polygon.num != 2 and polygon.num != 5) - color = guiUtilities()->mainColorRepresentation(); + color = GuiUtilities::mainColorRepresentation(); else color = Qt::black;