equal
deleted
inserted
replaced
70 bool haveServer = ${HAVE_NETSERVER}; |
70 bool haveServer = ${HAVE_NETSERVER}; |
71 bool isDevBuild = ${HW_DEV}; |
71 bool isDevBuild = ${HW_DEV}; |
72 |
72 |
73 int season = SEASON_NONE; |
73 int season = SEASON_NONE; |
74 int years_since_foundation = 0; |
74 int years_since_foundation = 0; |
75 |
|
76 QStandardItemModel * colorsModel; |
|
77 |
|
78 void hwConstsInit() |
|
79 { |
|
80 colorsModel = new QStandardItemModel(); |
|
81 |
|
82 int i = 0; |
|
83 while(colors[i]) |
|
84 { |
|
85 QStandardItem * item = new QStandardItem(); |
|
86 item->setData(QColor(colors[i])); |
|
87 colorsModel->appendRow(item); |
|
88 ++i; |
|
89 } |
|
90 } |
|