Commit 58532c55 authored by Caroline Chao's avatar Caroline Chao Committed by The Qt Project
Browse files

SpinBox: Enable hover in mouse up and down areas


Otherwise the properties upHovered and downHovered can never be true.

Change-Id: If8bb93961efa740028ace484099f3a6ce20e168e
Reviewed-by: default avatarMitch Curtis <mitch.curtis@digia.com>
parent a5936e18
No related merge requests found
Showing with 3 additions and 0 deletions
......@@ -167,6 +167,7 @@ FocusScope {
MouseArea {
id: mouseUp
hoverEnabled: true
property var upRect: loader.item ? loader.item.upRect : null
......@@ -191,6 +192,8 @@ FocusScope {
MouseArea {
id: mouseDown
hoverEnabled: true
onClicked: decrement()
property var downRect: loader.item ? loader.item.downRect : null
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment