equal
deleted
inserted
replaced
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(); |