equal
deleted
inserted
replaced
52 QTranslator Translator; |
52 QTranslator Translator; |
53 Translator.load(":/translations/hedgewars_" + QLocale::system().name()); |
53 Translator.load(":/translations/hedgewars_" + QLocale::system().name()); |
54 app.installTranslator(&Translator); |
54 app.installTranslator(&Translator); |
55 |
55 |
56 QDir mydir("."); |
56 QDir mydir("."); |
|
57 mydir.cd("bin"); |
|
58 |
57 bindir = new QDir(mydir); |
59 bindir = new QDir(mydir); |
58 cfgdir = new QDir(); |
60 cfgdir = new QDir(); |
59 |
61 |
60 cfgdir->setPath(cfgdir->homePath()); |
62 cfgdir->setPath(cfgdir->homePath()); |
61 if (!cfgdir->exists(".hedgewars")) |
63 if (!cfgdir->exists(".hedgewars")) |