summaryrefslogtreecommitdiffstats
path: root/src/widgets/qscrollbar.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-10-19 22:51:12 -0500
committerDarrell Anderson <[email protected]>2012-10-19 22:51:12 -0500
commitf175db0cdb14fe5e62b3fbdc785cd3b09576ef1d (patch)
tree8b690a0a04d4143e087324a425621cd12b38d8f1 /src/widgets/qscrollbar.cpp
parent41e5b784ee48d2cb403bb551bcbe7cbd322c4336 (diff)
parent4037eb7e84eda2b72a456cf7ff19182c2d4a1f7a (diff)
downloadqt3-f175db0cdb14fe5e62b3fbdc785cd3b09576ef1d.tar.gz
qt3-f175db0cdb14fe5e62b3fbdc785cd3b09576ef1d.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/qt3
Diffstat (limited to 'src/widgets/qscrollbar.cpp')
-rw-r--r--src/widgets/qscrollbar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qscrollbar.cpp b/src/widgets/qscrollbar.cpp
index 5ffe7e9..23abedd 100644
--- a/src/widgets/qscrollbar.cpp
+++ b/src/widgets/qscrollbar.cpp
@@ -940,6 +940,8 @@ void QScrollBar::drawControls( uint controls, uint activeControl,
flags |= QStyle::Style_Enabled;
if (hasFocus())
flags |= QStyle::Style_HasFocus;
+ if (hasMouse())
+ flags |= QStyle::Style_MouseOver;
if ( orientation() == Horizontal )
flags |= QStyle::Style_Horizontal;