QTfrontend/ammoSchemeModel.cpp
changeset 4232 3a7862405c36
parent 4231 f2eb9ac629e4
child 4250 d83b53997e0b
--- a/QTfrontend/ammoSchemeModel.cpp	Wed Nov 10 00:56:21 2010 +0100
+++ b/QTfrontend/ammoSchemeModel.cpp	Wed Nov 10 03:08:14 2010 +0100
@@ -64,8 +64,7 @@
     QAbstractTableModel(parent),
     fileConfig(fileName, QSettings::IniFormat)
 {
-    QStringList predefSchemesNames;
-    predefSchemesNames
+    predefSchemesNames = QStringList()
         << "Default"
         << "Pro Mode"
         << "Shoppa"
@@ -472,7 +471,7 @@
 
     QList<QVariant> kingmode;
     kingmode
-        << predefSchemesNames[10]   // name           0
+        << predefSchemesNames[10]  // name           0
         << QVariant(false)         // fortsmode      1
         << QVariant(false)         // team divide    2
         << QVariant(false)         // solid land     3