summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpushbutton.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-10-19 22:51:19 -0500
committerDarrell Anderson <[email protected]>2012-10-19 22:51:19 -0500
commite230650065e8fd82816319f8fa1c63507027d022 (patch)
tree1bbb6c6e5ec8b92bd94f34eee95d01a863d4c61e /src/widgets/qpushbutton.cpp
parent06e01077e1826d986821404d87de10399a7c1b6e (diff)
parent691129fbcb6c0f377abac61c6051700b4148efc4 (diff)
downloadtqt3-e230650065e8fd82816319f8fa1c63507027d022.tar.gz
tqt3-e230650065e8fd82816319f8fa1c63507027d022.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'src/widgets/qpushbutton.cpp')
-rw-r--r--src/widgets/qpushbutton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qpushbutton.cpp b/src/widgets/qpushbutton.cpp
index 3e3925ab7..e43ff2408 100644
--- a/src/widgets/qpushbutton.cpp
+++ b/src/widgets/qpushbutton.cpp
@@ -555,6 +555,8 @@ void TQPushButton::drawButton( TQPainter *paint )
flags |= TQStyle::Style_Raised;
if (isDefault())
flags |= TQStyle::Style_ButtonDefault;
+ if (hasMouse())
+ flags |= TQStyle::Style_MouseOver;
style().drawControl(TQStyle::CE_PushButton, paint, this, rect(), colorGroup(), flags);
drawButtonLabel( paint );