QTfrontend/main.cpp
changeset 8117 329d9756b57c
parent 8098 4efee370e2de
child 8187 fa725fe25708
equal deleted inserted replaced
8115:ac1007c6dea8 8117:329d9756b57c
   229     engine.mount(datadir->absolutePath());
   229     engine.mount(datadir->absolutePath());
   230     engine.mount(cfgdir->absolutePath() + "/Data");
   230     engine.mount(cfgdir->absolutePath() + "/Data");
   231     engine.mount(cfgdir->absolutePath());
   231     engine.mount(cfgdir->absolutePath());
   232     engine.setWriteDir(cfgdir->absolutePath());
   232     engine.setWriteDir(cfgdir->absolutePath());
   233     engine.mountPacks();
   233     engine.mountPacks();
   234     qDebug() << datadir->absolutePath();
       
   235 
   234 
   236     QTranslator Translator;
   235     QTranslator Translator;
   237     {
   236     {
   238         QSettings settings("physfs://hedgewars.ini", QSettings::IniFormat);
   237         QSettings settings("physfs://hedgewars.ini", QSettings::IniFormat);
   239         QString cc = settings.value("misc/locale", QString()).toString();
   238         QString cc = settings.value("misc/locale", QString()).toString();