path: root/src/gui/image/qicon.h
diff options
authorAlbert Astals Cid <>2018-08-16 15:42:41 +0200
committerAlbert Astals Cid <>2018-08-20 21:42:58 +0000
commit0e7724079f1eae283714ae12769d1372b8f85659 (patch)
treec07ae322b1b0012795be07c7ce485e63fc273ab0 /src/gui/image/qicon.h
parent67cc8fea106c35c7ca75bf476667d07b3bbf3257 (diff)
Allow setting the QIcon fallback theme
This allows apps that know their icons are in a given icon theme to set that theme as fallback, so in case the user theme does not include them, the icons can still be found. This solves the problem of missing icons that often happens when running KDE applications on a GNOME desktop. Change-Id: I4e5543d598012352a29ff79dab0357506d986b6d Reviewed-by: Dominik Haumann <> Reviewed-by: Shawn Rutledge <>
Diffstat (limited to 'src/gui/image/qicon.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/image/qicon.h b/src/gui/image/qicon.h
index 653ba6fda4..6a4fc8927a 100644
--- a/src/gui/image/qicon.h
+++ b/src/gui/image/qicon.h
@@ -124,6 +124,9 @@ public:
static QString themeName();
static void setThemeName(const QString &path);
+ static QString fallbackThemeName();
+ static void setFallbackThemeName(const QString &name);