QTfrontend/hwconsts.cpp.in
changeset 7267 710f3ced8934
parent 7258 722e8a0d89dc
child 8090 38d9cc60b14c
--- a/QTfrontend/hwconsts.cpp.in	Tue Jun 19 21:17:05 2012 +0200
+++ b/QTfrontend/hwconsts.cpp.in	Tue Jun 19 21:20:08 2012 +0200
@@ -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;
-    }
-}