src/toolsets/extprogramtoolset.cpp

changeset 1397
5d5c11af0268
parent 1391
5fa4bf1fc781
child 1416
ba63c7286767
--- a/src/toolsets/extprogramtoolset.cpp	Sun Jun 10 15:53:21 2018 +0300
+++ b/src/toolsets/extprogramtoolset.cpp	Sun Jun 10 16:04:38 2018 +0300
@@ -540,8 +540,8 @@
 	if (not dlg->exec())
 		return;
 
-	LDColor in1Col = ui.cmb_col1->itemData (ui.cmb_col1->currentIndex()).toInt();
-	LDColor in2Col = ui.cmb_col2->itemData (ui.cmb_col2->currentIndex()).toInt();
+	LDColor in1Col {ui.cmb_col1->itemData (ui.cmb_col1->currentIndex()).toInt()};
+	LDColor in2Col {ui.cmb_col2->itemData (ui.cmb_col2->currentIndex()).toInt()};
 	QTemporaryFile in1dat, in2dat, outdat;
 	QString in1DATName, in2DATName, outDATName;
 

mercurial