diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-19 22:51:12 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-19 22:51:12 -0500 |
commit | f175db0cdb14fe5e62b3fbdc785cd3b09576ef1d (patch) | |
tree | 8b690a0a04d4143e087324a425621cd12b38d8f1 /src/widgets/qtoolbutton.cpp | |
parent | 41e5b784ee48d2cb403bb551bcbe7cbd322c4336 (diff) | |
parent | 4037eb7e84eda2b72a456cf7ff19182c2d4a1f7a (diff) | |
download | qt3-f175db0cdb14fe5e62b3fbdc785cd3b09576ef1d.tar.gz qt3-f175db0cdb14fe5e62b3fbdc785cd3b09576ef1d.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/qt3
Diffstat (limited to 'src/widgets/qtoolbutton.cpp')
-rw-r--r-- | src/widgets/qtoolbutton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qtoolbutton.cpp b/src/widgets/qtoolbutton.cpp index f11b613..d121d61 100644 --- a/src/widgets/qtoolbutton.cpp +++ b/src/widgets/qtoolbutton.cpp @@ -484,6 +484,8 @@ void QToolButton::drawButton( QPainter * p ) flags |= QStyle::Style_Down; if (isOn()) flags |= QStyle::Style_On; + if (hasMouse()) + flags |= QStyle::Style_MouseOver; if (autoRaise()) { flags |= QStyle::Style_AutoRaise; if (uses3D()) { |