summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstylehints.cpp
diff options
context:
space:
mode:
authorAlexander Volkov <avolkov@astralinux.ru>2022-09-28 16:21:59 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2022-09-29 19:06:40 +0300
commit1bf5470778364369a7b519ca5d074ca73529e7e4 (patch)
tree266d7b153a332c03273069438dc3c1dbc987a2d1 /src/gui/kernel/qstylehints.cpp
parent1fe7144a0746353ea629cd91b5c0d04a8434159b (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.cpp2
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();
}
/*!