From 0e044c1a92745f8508f5813efc9709a280583d11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 16 Oct 2012 15:40:54 -0500 Subject: Automated update from Qt3 --- src/widgets/qpushbutton.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widgets/qpushbutton.cpp') 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 ); -- cgit v1.2.1