summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qiconloader_p.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-12 12:42:42 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-15 13:42:39 +0200
commitf3c2cf47fc35262dee0c4732ada6f334009cabf3 (patch)
tree65b31e50e2e74641371be8cc3ea2daf5e1079604 /src/gui/image/qiconloader_p.h
parentebc371de0d626d60a2a3aa5b82e3530e3e1d9f27 (diff)
De-inline QIconLoader::themeName()
The method is more than a plain getter, so keep it with the other logic of the class. Pick-to: 6.5 6.6 Change-Id: I34aa185a51f04e3db3c1918f9723e53f33e5e9e1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/image/qiconloader_p.h')
-rw-r--r--src/gui/image/qiconloader_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qiconloader_p.h b/src/gui/image/qiconloader_p.h
index fbb21073ce..0245123a83 100644
--- a/src/gui/image/qiconloader_p.h
+++ b/src/gui/image/qiconloader_p.h
@@ -146,7 +146,7 @@ public:
QThemeIconInfo loadIcon(const QString &iconName) const;
uint themeKey() const { return m_themeKey; }
- QString themeName() const { return m_userTheme.isEmpty() ? m_systemTheme : m_userTheme; }
+ QString themeName() const;
void setThemeName(const QString &themeName);
QString fallbackThemeName() const;
void setFallbackThemeName(const QString &themeName);