QTfrontend/main.cpp
changeset 8341 7a7a39b2449b
parent 8339 2154732c65f1
child 8344 3d18f7f71d65
equal deleted inserted replaced
8339:2154732c65f1 8341:7a7a39b2449b
   208 
   208 
   209     Q_INIT_RESOURCE(hedgewars);
   209     Q_INIT_RESOURCE(hedgewars);
   210 
   210 
   211     qRegisterMetaType<HWTeam>("HWTeam");
   211     qRegisterMetaType<HWTeam>("HWTeam");
   212 
   212 
   213     // workaround over NSIS installer which modifies the install path
       
   214     //bindir->cd("./");
       
   215     bindir->cd(QCoreApplication::applicationDirPath());
   213     bindir->cd(QCoreApplication::applicationDirPath());
   216 
   214 
   217     if(custom_config == false)
   215     if(custom_config == false)
   218     {
   216     {
   219 #ifdef __APPLE__
   217 #ifdef __APPLE__