summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformtheme.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-09-08 15:10:52 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-09-12 11:46:59 +0200
commitfac71528cce279282d66b0a96ddd8570d567955f (patch)
tree4656db0a63c92476cac5eb22d1722eaf6fd2b115 /src/gui/kernel/qplatformtheme.h
parent2ad5d62f11a1823f2a7ddb13f0b0351acf4b86dc (diff)
Read and use WheelScrollLines configuration on KDE
Qt supports changing the default lines a scroll wheel click scroll, but wasn't trying to read the system settings. The patch adds support for platform themes to set the default. Change-Id: I53fdcec7984941d1d1285d927d70460356613f81 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com> Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/gui/kernel/qplatformtheme.h')
-rw-r--r--src/gui/kernel/qplatformtheme.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformtheme.h b/src/gui/kernel/qplatformtheme.h
index ad2b4a2164..619cfb59d5 100644
--- a/src/gui/kernel/qplatformtheme.h
+++ b/src/gui/kernel/qplatformtheme.h
@@ -109,7 +109,8 @@ public:
DialogSnapToDefaultButton,
ContextMenuOnMouseRelease,
MousePressAndHoldInterval,
- MouseDoubleClickDistance
+ MouseDoubleClickDistance,
+ WheelScrollLines
};
enum DialogType {