src/glCompiler.cpp

changeset 1017
fc1c13db9618
parent 1014
f0a8ecb6a357
child 1023
9450ac3cd930
--- a/src/glCompiler.cpp	Sat Feb 13 04:14:43 2016 +0200
+++ b/src/glCompiler.cpp	Sun Feb 14 03:19:28 2016 +0200
@@ -145,7 +145,7 @@
 		}
 		else if (poly.color == EdgeColor)
 		{
-			qcol = luma (QColor (Config->backgroundColor())) > 40 ? Qt::black : Qt::white;
+			qcol = luma (QColor (m_config->backgroundColor())) > 40 ? Qt::black : Qt::white;
 		}
 		else
 		{
@@ -186,7 +186,7 @@
 
 	if (blendAlpha != 0.0)
 	{
-		QColor selcolor (Config->selectColorBlend());
+		QColor selcolor (m_config->selectColorBlend());
 		double denom = blendAlpha + 1.0;
 		qcol.setRed ((qcol.red() + (selcolor.red() * blendAlpha)) / denom);
 		qcol.setGreen ((qcol.green() + (selcolor.green() * blendAlpha)) / denom);

mercurial