summaryrefslogtreecommitdiffstats
path: root/src/plugins/platformthemes/gtk3/qgtk3theme.h
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2022-09-20 14:06:40 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2022-09-20 22:25:59 +0200
commit4973155512969300c848a3aae8dbb21f07e50c45 (patch)
treeca0ffbdf07cad2d56e34065943b18bdd4a017f17 /src/plugins/platformthemes/gtk3/qgtk3theme.h
parentfeed452a9987a4629b03d3bc4a629ba7978ab7ba (diff)
Replace QPlatformTheme::Appearance by Qt:Appearance
With the introduction of Qt:Appearance, its predecessor in QPlatformTheme has become redundant. This patch replaces all occurrences of QPlatformTheme::Appearance with the new enum class. Task-number: QTBUG-106381 Change-Id: I5406f1b7c19f68571f074617c681318c96a6517e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platformthemes/gtk3/qgtk3theme.h')
-rw-r--r--src/plugins/platformthemes/gtk3/qgtk3theme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platformthemes/gtk3/qgtk3theme.h b/src/plugins/platformthemes/gtk3/qgtk3theme.h
index 8c7a1da7cc..ca78f9c709 100644
--- a/src/plugins/platformthemes/gtk3/qgtk3theme.h
+++ b/src/plugins/platformthemes/gtk3/qgtk3theme.h
@@ -17,7 +17,7 @@ public:
virtual QVariant themeHint(ThemeHint hint) const override;
virtual QString gtkFontName() const override;
- Appearance appearance() const override;
+ Qt::Appearance appearance() const override;
bool usePlatformNativeDialog(DialogType type) const override;
QPlatformDialogHelper *createPlatformDialogHelper(DialogType type) const override;