QTfrontend/model/ThemeModel.cpp
changeset 13254 d2b58cf339fe
parent 13253 b0022324fb4e
child 13257 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);