diff --git a/src/core/defs.h.in b/src/core/defs.h.in index 7689dbd2b..c88a1edfc 100644 --- a/src/core/defs.h.in +++ b/src/core/defs.h.in @@ -51,6 +51,7 @@ #define APP_IS_RUNNING "app_is_running" #define APP_THEME_PATH_QRC ":/themes" #define APP_SKIN_DEFAULT "base/vergilius.xml" +#define APP_THEME_DEFAULT "mini-kfaenza" #if defined(Q_OS_LINUX) #define APP_DESKTOP_ENTRY_PATH "@DESKTOP_ENTRY@" diff --git a/src/gui/iconthemefactory.cpp b/src/gui/iconthemefactory.cpp index 89ec68d68..4b3592ac0 100644 --- a/src/gui/iconthemefactory.cpp +++ b/src/gui/iconthemefactory.cpp @@ -78,7 +78,7 @@ void IconThemeFactory::loadCurrentIconTheme(bool notify_widgets) { QStringList installed_themes = getInstalledIconThemes(); QString theme_name_from_settings = Settings::getInstance()->value(APP_CFG_GUI, "icon_theme", - "mini-kfaenza").toString(); + APP_THEME_DEFAULT).toString(); if (m_currentIconTheme == theme_name_from_settings) { qDebug("Icon theme '%s' already loaded.", @@ -100,10 +100,7 @@ void IconThemeFactory::loadCurrentIconTheme(bool notify_widgets) { else { // Desired icon theme is not currently available. // Install "default" icon theme instead. - // NOTE: "Default" icon theme is: - // a) system icon theme on Linux, - // b) no icon theme on other platforms. - qDebug("Icon theme '%s' cannot be loaded because it is not installed. Loading 'default' theme.", + qDebug("Icon theme '%s' cannot be loaded because it is not installed. Loading 'system default' theme.", qPrintable(theme_name_from_settings)); QIcon::setThemeName(APP_THEME_SYSTEM); m_currentIconTheme = APP_THEME_SYSTEM;