equal
deleted
inserted
replaced
28 #include <QStringListModel> |
28 #include <QStringListModel> |
29 #include <QDate> |
29 #include <QDate> |
30 |
30 |
31 #include "hwform.h" |
31 #include "hwform.h" |
32 #include "hwconsts.h" |
32 #include "hwconsts.h" |
|
33 #include "newnetclient.h" |
33 |
34 |
34 #include "HWDataManager.h" |
35 #include "HWDataManager.h" |
35 |
36 |
36 #ifdef _WIN32 |
37 #ifdef _WIN32 |
37 #include <Shlobj.h> |
38 #include <Shlobj.h> |
149 srand(now.toTime_t()); |
150 srand(now.toTime_t()); |
150 rand(); |
151 rand(); |
151 |
152 |
152 Q_INIT_RESOURCE(hedgewars); |
153 Q_INIT_RESOURCE(hedgewars); |
153 |
154 |
|
155 qRegisterMetaType<HWTeam>("HWTeam"); |
|
156 |
154 bindir->cd("bin"); // workaround over NSIS installer |
157 bindir->cd("bin"); // workaround over NSIS installer |
155 |
158 |
156 if(cConfigDir->length() == 0) |
159 if(cConfigDir->length() == 0) |
157 cfgdir->setPath(cfgdir->homePath()); |
160 cfgdir->setPath(cfgdir->homePath()); |
158 else |
161 else |