diff -r 4d3415927d2c -r 133e22b5c410 QTfrontend/util/namegen.cpp --- a/QTfrontend/util/namegen.cpp Sat Nov 17 22:07:17 2012 +0400 +++ b/QTfrontend/util/namegen.cpp Sat Nov 17 22:45:30 2012 +0400 @@ -125,8 +125,7 @@ QStringList list; // find .txt to load the names from - QFile * file = new QFile(DataManager::instance().findFileForRead(QString( - "Names/%1.txt").arg(filename))); + QFile * file = new QFile(QString("physfs://Names/%1.txt").arg(filename)); if (file->exists() && file->open(QIODevice::ReadOnly | QIODevice::Text)) { @@ -154,8 +153,7 @@ QStringList list; // find .cfg to load the dicts from - QFile * file = new QFile(DataManager::instance().findFileForRead(QString( - "Names/%1.cfg").arg(hatname))); + QFile * file = new QFile(QString("physfs://Names/%1.cfg").arg(hatname)); if (file->exists() && file->open(QIODevice::ReadOnly | QIODevice::Text)) { @@ -183,8 +181,7 @@ typesAvailable = false; // find .ini to load the names from - QFile * file = new QFile( - DataManager::instance().findFileForRead(QString("Names/types.ini"))); + QFile * file = new QFile(QString("physfs://Names/types.ini")); if (file->exists() && file->open(QIODevice::ReadOnly | QIODevice::Text))