diff options
author | Alexander Volkov <avolkov@astralinux.ru> | 2022-09-28 16:21:59 +0300 |
---|---|---|
committer | Alexander Volkov <avolkov@astralinux.ru> | 2022-09-29 19:06:40 +0300 |
commit | 1bf5470778364369a7b519ca5d074ca73529e7e4 (patch) | |
tree | 266d7b153a332c03273069438dc3c1dbc987a2d1 /src/gui/kernel/qstylehints.cpp | |
parent | 1fe7144a0746353ea629cd91b5c0d04a8434159b (diff) |
Make SetFocusOnTouchRelease style hint themeable
So it could be set by e.g. Plasma Mobile.
Change-Id: I067bd1356a61dbbf330530ef82565486d2e862a6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qstylehints.cpp')
-rw-r--r-- | src/gui/kernel/qstylehints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qstylehints.cpp b/src/gui/kernel/qstylehints.cpp index 8374379d5a..f932caaae5 100644 --- a/src/gui/kernel/qstylehints.cpp +++ b/src/gui/kernel/qstylehints.cpp @@ -445,7 +445,7 @@ bool QStyleHints::useRtlExtensions() const */ bool QStyleHints::setFocusOnTouchRelease() const { - return hint(QPlatformIntegration::SetFocusOnTouchRelease).toBool(); + return themeableHint(QPlatformTheme::SetFocusOnTouchRelease, QPlatformIntegration::SetFocusOnTouchRelease).toBool(); } /*! |