diff options
author | JiDe Zhang <zhangjide@uniontech.com> | 2022-06-16 13:14:12 +0800 |
---|---|---|
committer | JiDe Zhang <zhangjide@uniontech.com> | 2022-06-18 02:59:22 +0800 |
commit | 8790da89882f833aedf26cf444e334ab14258679 (patch) | |
tree | ed46bd86b23ee26799d04d76cf446bfb69c89332 /src/gui/kernel/qstylehints.cpp | |
parent | 2ed54dedf3783471716b21509db1f8279d5b5af8 (diff) |
xcb: Get some style hints from xsettings
According to
https://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/.
Added support for Net/CursorBlinkTime Net/DoubleClickTime
Net/DoubleClickDistance Net/DndDragThreshold.
Change-Id: Ief208736ed2938792d935bfd730fefdd745394b6
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 64c3a88be2..042f793a27 100644 --- a/src/gui/kernel/qstylehints.cpp +++ b/src/gui/kernel/qstylehints.cpp @@ -122,7 +122,7 @@ int QStyleHints::mouseDoubleClickDistance() const Q_D(const QStyleHints); return d->m_mouseDoubleClickDistance >= 0 ? d->m_mouseDoubleClickDistance : - themeableHint(QPlatformTheme::MouseDoubleClickDistance).toInt(); + themeableHint(QPlatformTheme::MouseDoubleClickDistance, QPlatformIntegration::MouseDoubleClickDistance).toInt(); } /*! |