summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpushbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-10-16 15:40:54 -0500
committerTimothy Pearson <[email protected]>2012-10-16 15:40:54 -0500
commit0e044c1a92745f8508f5813efc9709a280583d11 (patch)
tree67963c1b752b6fa680f9123b73fca2c703b7c61b /src/widgets/qpushbutton.cpp
parentff2caed1b8e1bea513172d48d07b13f53b73a9de (diff)
downloadtqt3-0e044c1a92745f8508f5813efc9709a280583d11.tar.gz
tqt3-0e044c1a92745f8508f5813efc9709a280583d11.zip
Automated update from Qt3
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 );