summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformtheme.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2021-11-25 15:45:47 +0100
committerMitch Curtis <mitch.curtis@qt.io>2022-01-07 13:31:38 +0000
commit75abba6487dccce9de304b5132e2ce6ff5171427 (patch)
tree98453202f0fd11a3a23703d7cb43057a3c07c3b0 /src/gui/kernel/qplatformtheme.h
parentb13ee89d20013ba4122e5539e9b5a0b65ee3ab6a (diff)
Add PreselectFirstFileInDirectory platform theme hint
This allows Qt Quick Dialogs to accurately check whether it should select the first file in a directory when a file dialog is opened. While we're here, fix an incorrect version on the last theme hint that was added. Task-number: QTBUG-98562 Change-Id: I08cc8a0fbed28a42d1212016c6ee7fc5459578bf Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformtheme.h')
-rw-r--r--src/gui/kernel/qplatformtheme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformtheme.h b/src/gui/kernel/qplatformtheme.h
index fdd1141896..a6b3709548 100644
--- a/src/gui/kernel/qplatformtheme.h
+++ b/src/gui/kernel/qplatformtheme.h
@@ -122,6 +122,7 @@ public:
MouseQuickSelectionThreshold,
InteractiveResizeAcrossScreens,
ShowDirectoriesFirst,
+ PreselectFirstFileInDirectory,
};
Q_ENUM(ThemeHint)