summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/image/qiconloader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qiconloader.cpp b/src/gui/image/qiconloader.cpp
index e6e3074..2204ac9 100644
--- a/src/gui/image/qiconloader.cpp
+++ b/src/gui/image/qiconloader.cpp
@@ -73,8 +73,12 @@ static QString systemThemeName()
QString result;
#ifdef Q_WS_X11
if (X11->desktopEnvironment == DE_GNOME) {
+#if defined(QT_NO_STYLE_GTK)
+ result = QLatin1String("gnome");
+#else
result = QGtk::getGConfString(QLatin1String("/desktop/gnome/interface/icon_theme"),
QLatin1String("gnome"));
+#endif
} else if (X11->desktopEnvironment == DE_KDE) {
QString kdeDefault = X11->desktopVersion >= 4 ?
QString::fromLatin1("oxygen") :