Changeset 168 for smplayer/vendor/current/src/smplayer.cpp
- Timestamp:
- Oct 9, 2014, 11:54:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified smplayer/vendor/current/src/smplayer.cpp ¶
r163 r168 28 28 #include "cleanconfig.h" 29 29 #include "myapplication.h" 30 #include "images.h" 30 31 31 32 #ifdef MPCGUI … … 120 121 qDebug("SMPlayer::gui: user_theme_dir: %s", user_theme_dir.toUtf8().constData()); 121 122 qDebug("SMPlayer::gui: theme_dir: %s", theme_dir.toUtf8().constData()); 123 #ifdef USE_RESOURCES 124 QString user_theme_resource = user_theme_dir +"/"+ theme +".rcc"; 125 QString theme_resource = theme_dir +"/"+ theme +".rcc"; 126 qDebug("SMPlayer::gui: user_theme_resource: %s", user_theme_resource.toUtf8().constData()); 127 qDebug("SMPlayer::gui: theme_resource: %s", theme_resource.toUtf8().constData()); 128 if ((QFile::exists(user_theme_resource)) || (QFile::exists(theme_resource))) { 129 #else 122 130 if ((QDir(theme_dir).exists()) || (QDir(user_theme_dir).exists())) { 131 #endif 123 132 if (pref->iconset.isEmpty()) pref->iconset = theme; 124 133 } else { 134 #ifdef USE_RESOURCES 135 qDebug("SMPlayer::gui: skin resource file doesn't exist. Falling back to default gui."); 136 #else 125 137 qDebug("SMPlayer::gui: skin folder doesn't exist. Falling back to default gui."); 138 #endif 126 139 gui_to_use = "DefaultGUI"; 127 140 pref->iconset = "";
Note:
See TracChangeset
for help on using the changeset viewer.