No need for braces there...

Wed, 01 Mar 2017 12:17:56 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 01 Mar 2017 12:17:56 +0200
changeset 1175
7cf1dbf97d90
parent 1174
91696a2e022c
child 1176
07b574a4e31d

No need for braces there...

src/dialogs/colorselector.cpp file | annotate | diff | comparison | revisions
--- a/src/dialogs/colorselector.cpp	Sat Feb 25 17:24:33 2017 +0200
+++ b/src/dialogs/colorselector.cpp	Wed Mar 01 12:17:56 2017 +0200
@@ -51,7 +51,7 @@
 
 		if (color.isValid())
 		{
-			QColor faceColor = {color.faceColor()};
+			QColor faceColor = color.faceColor();
 
 			if (color == MainColor)
 			{

mercurial