aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/cursor/data/scrollbar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cursor/data/scrollbar.qml')
-rw-r--r--tests/auto/cursor/data/scrollbar.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cursor/data/scrollbar.qml b/tests/auto/cursor/data/scrollbar.qml
index 41fda945..50b785c6 100644
--- a/tests/auto/cursor/data/scrollbar.qml
+++ b/tests/auto/cursor/data/scrollbar.qml
@@ -65,6 +65,10 @@ ApplicationWindow {
}
ScrollBar.vertical: ScrollBar {
id: scrollBar
+ // Need to explicitly set this to account for platforms like Android,
+ // where the UiEffects style hint does not include HoverEffect, and
+ // hence QQuickControlPrivate::calcHoverEnabled() would otherwise return false.
+ hoverEnabled: true
}
}
}