diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2015-06-15 13:52:22 +0200 |
---|---|---|
committer | Kai Uwe Broulik <kde@privat.broulik.de> | 2015-06-18 10:20:42 +0000 |
commit | 234dc90be6850135b3b54c98fabe71eff1c6071c (patch) | |
tree | 0ec71d7949cfaad07f061517d3415dc4114778da | |
parent | 7480ab5ce953d9c7450524d59b1f1cff60e4c2c9 (diff) |
Fix transientScrollBars condition
It should only ever be enabled on mobile.
Fixes a regression introduced by f7b3f11b47768f47f625874c1bd45da4296c0f82
Change-Id: I0c95e6caff8e5bb745fd0d03567b0041f012c9b5
Task-number: QTBUG-41591
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r-- | src/controls/Styles/Base/ScrollViewStyle.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/ScrollViewStyle.qml b/src/controls/Styles/Base/ScrollViewStyle.qml index 091761ac8..f34786469 100644 --- a/src/controls/Styles/Base/ScrollViewStyle.qml +++ b/src/controls/Styles/Base/ScrollViewStyle.qml @@ -65,7 +65,7 @@ Style { appear when the content is scrolled and disappear when they are no longer needed. The default value is platform dependent. */ - property bool transientScrollBars: !Settings.isMobile && Settings.hasTouchScreen + property bool transientScrollBars: Settings.isMobile && Settings.hasTouchScreen /*! This Component paints the frame around scroll bars. */ property Component frame: Rectangle { |