--- a/QTfrontend/main.cpp Sat Nov 17 22:07:17 2012 +0400
+++ b/QTfrontend/main.cpp Sat Nov 17 22:45:30 2012 +0400
@@ -227,8 +227,6 @@
engine.mount(cfgdir->absolutePath(), "/config");
engine.setWriteDir(cfgdir->absolutePath());
- DataManager & dataMgr = DataManager::instance();
-
QTranslator Translator;
{
QSettings settings("physfs://config/hedgewars.ini", QSettings::IniFormat);
@@ -280,7 +278,7 @@
}
// load external stylesheet if there is any
- QFile extFile(dataMgr.findFileForRead("css/" + fname));
+ QFile extFile("physfs://css/" + fname);
QFile resFile(":/res/css/" + fname);