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/qprogressbar.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widgets/qprogressbar.cpp') 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 ), -- cgit v1.2.3