src/ConfigurationDialog.cc

changeset 648
ed6170728ae4
parent 646
1ccb092cebed
--- a/src/ConfigurationDialog.cc	Wed Mar 05 17:29:27 2014 +0200
+++ b/src/ConfigurationDialog.cc	Wed Mar 05 18:30:04 2014 +0200
@@ -208,7 +208,7 @@
 	*anglabel = new QLabel ("Angle");
 	int i = 1;
 
-	for (QLabel* label : initlist<QLabel*> ({xlabel, ylabel, zlabel, anglabel}))
+	for (QLabel* label : QList<QLabel*> ({xlabel, ylabel, zlabel, anglabel}))
 	{
 		label->setAlignment (Qt::AlignCenter);
 		gridlayout->addWidget (label, 0, i++);

mercurial