QTfrontend/model/ThemeModel.cpp
changeset 13249 d2b58cf339fe
parent 13248 b0022324fb4e
child 13252 5200231eb120
--- a/QTfrontend/model/ThemeModel.cpp	Sun Mar 18 15:24:54 2018 +0100
+++ b/QTfrontend/model/ThemeModel.cpp	Sun Mar 18 15:42:17 2018 +0100
@@ -131,7 +131,7 @@
             dataset.insert(IsHiddenRole, true);
 
         // detect if theme is dlc
-        QString themeDir = PHYSFS_getRealDir(QString("Themes/%1/icon.png").arg(theme).toLocal8Bit().data());
+        QString themeDir = PHYSFS_getRealDir(QString("Themes/%1").arg(theme).toLocal8Bit().data());
         bool isDLC = !themeDir.startsWith(datadir->absolutePath());
         dataset.insert(IsDlcRole, isDLC);