QTfrontend/gameuiconfig.cpp
changeset 8386 2aaa2995a32e
parent 8385 9e8924ff9813
child 8387 f9d1191476ce
--- a/QTfrontend/gameuiconfig.cpp	Mon Jan 14 21:17:42 2013 +0400
+++ b/QTfrontend/gameuiconfig.cpp	Mon Jan 14 21:37:04 2013 +0400
@@ -156,7 +156,7 @@
     { // load colors
         QStandardItemModel * model = DataManager::instance().colorsModel();
         for(int i = model->rowCount() - 1; i >= 0; --i)
-            model->item(i)->setData(QColor(value(QString("colors/color%1").arg(i), model->item(i)->data().value<QColor>()).value<QColor>()));
+            model->item(i)->setData(value(QString("colors/color%1").arg(i), model->item(i)->data()));
     }
 
     { // load binds