QTfrontend/hwconsts.cpp.in
changeset 7258 722e8a0d89dc
parent 7130 fcab1fd02bc6
child 8090 38d9cc60b14c
--- a/QTfrontend/hwconsts.cpp.in	Sun Jun 17 16:32:44 2012 +0200
+++ b/QTfrontend/hwconsts.cpp.in	Sun Jun 17 21:45:49 2012 +0400
@@ -72,19 +72,3 @@
 
 int season = SEASON_NONE;
 int years_since_foundation = 0;
-
-QStandardItemModel * colorsModel;
-
-void hwConstsInit()
-{
-    colorsModel = new QStandardItemModel();
-
-    int i = 0;
-    while(colors[i])
-    {
-        QStandardItem * item = new QStandardItem();
-        item->setData(QColor(colors[i]));
-        colorsModel->appendRow(item);
-        ++i;
-    }
-}