summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2023-04-27 13:45:37 +0900
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-27 20:55:35 +0000
commit6b603e695f49c80fe331b26db2ba568b43d0f5fa (patch)
tree491ee29067e9e9385b25fbb38f3e1f364a0a172a
parent2653392628c258826140e79fb5571e5f69a5254f (diff)
downloadqtbase-6b603e695f49c80fe331b26db2ba568b43d0f5fa.tar.gz
Doc: add darkmode=0 explicitly
Task-number: QTBUG-72028 Change-Id: Ia73dbd4f203ce654e5221f69a65b8c82c2af7d79 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 7b9e73a921e9ce8df1c6af2ae69a187fee06c986) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/gui/kernel/qguiapplication.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp
index 4b94930813..e91a680ea5 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -560,10 +560,12 @@ static QWindowGeometrySpecification windowGeometrySpecification = Q_WINDOW_GEOME
\list
\li \c {altgr}, detect the key \c {AltGr} found on some keyboards as
Qt::GroupSwitchModifier (since Qt 5.12).
- \li \c {darkmode=[1|2]} controls how Qt responds to the activation
+ \li \c {darkmode=[0|1|2]} controls how Qt responds to the activation
of the \e{Dark Mode for applications} introduced in Windows 10
1903 (since Qt 5.15).
+ A value of 0 disables dark mode support.
+
A value of 1 causes Qt to switch the window borders to black
when \e{Dark Mode for applications} is activated and no High
Contrast Theme is in use. This is intended for applications