QTfrontend/hwform.cpp
changeset 8057 93e16240f178
parent 8048 e14daa2508fc
parent 8049 133e22b5c410
child 8098 4efee370e2de
equal deleted inserted replaced
8051:f26422ef0333 8057:93e16240f178
   120     , pRegisterServer(0)
   120     , pRegisterServer(0)
   121     , editedTeam(0)
   121     , editedTeam(0)
   122     , hwnet(0)
   122     , hwnet(0)
   123 {
   123 {
   124     // set music track
   124     // set music track
   125     SDLInteraction::instance().setMusicTrack(
   125     SDLInteraction::instance().setMusicTrack("/Music/main_theme.ogg");
   126         DataManager::instance().findFileForRead("Music/main_theme.ogg")
       
   127     );
       
   128 
   126 
   129 #ifdef USE_XFIRE
   127 #ifdef USE_XFIRE
   130     xfire_init();
   128     xfire_init();
   131 #endif
   129 #endif
   132     gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat);
   130     gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat);