diff -r 5b97b9946cde -r 722e8a0d89dc QTfrontend/hwconsts.cpp.in --- 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; - } -}