diff -r 4d3415927d2c -r 133e22b5c410 QTfrontend/model/ThemeModel.cpp --- a/QTfrontend/model/ThemeModel.cpp Sat Nov 17 22:07:17 2012 +0400 +++ b/QTfrontend/model/ThemeModel.cpp Sat Nov 17 22:45:30 2012 +0400 @@ -66,8 +66,7 @@ foreach (QString theme, themes) { // themes without icon are supposed to be hidden - QString iconpath = - datamgr.findFileForRead(QString("Themes/%1/icon.png").arg(theme)); + QString iconpath = QString("physfs://Themes/%1/icon.png").arg(theme); if (!QFile::exists(iconpath)) continue; @@ -83,7 +82,7 @@ dataset.insert(Qt::DecorationRole, icon); // load and set preview icon - QIcon preview(datamgr.findFileForRead(QString("Themes/%1/icon@2x.png").arg(theme))); + QIcon preview(QString("physfs://Themes/%1/icon@2x.png").arg(theme)); dataset.insert(Qt::UserRole, preview); m_data.append(dataset);