diff options
Diffstat (limited to 'src/widgets/qprogressbar.cpp')
-rw-r--r-- | src/widgets/qprogressbar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qprogressbar.cpp b/src/widgets/qprogressbar.cpp index 09d6befd7..7a4ec3831 100644 --- a/src/widgets/qprogressbar.cpp +++ b/src/widgets/qprogressbar.cpp @@ -390,6 +390,8 @@ void TQProgressBar::drawContents( TQPainter *p ) flags |= TQStyle::Style_Enabled; if (hasFocus()) flags |= TQStyle::Style_HasFocus; + if (hasMouse()) + flags |= TQStyle::Style_MouseOver; style().drawControl(TQStyle::CE_ProgressBarGroove, buffer.painter(), this, TQStyle::visualRect(style().subRect(TQStyle::SR_ProgressBarGroove, this), this ), |