diff options
author | Slávek Banko <[email protected]> | 2014-09-16 20:10:51 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-09-16 20:10:51 +0200 |
commit | 5b34ad0d8e489369a0cd8bd1e1b3ccebc4c9acb7 (patch) | |
tree | 4d5c979e74e1148c4a04d58de5894491fca91870 /src/widgets/qprogressbar.h | |
parent | fbc4cf8e7f2170744c12fd0d435639516c733db9 (diff) | |
download | qt3-5b34ad0d8e489369a0cd8bd1e1b3ccebc4c9acb7.tar.gz qt3-5b34ad0d8e489369a0cd8bd1e1b3ccebc4c9acb7.zip |
Improve TQProgressBar repaint optimization
Diffstat (limited to 'src/widgets/qprogressbar.h')
-rw-r--r-- | src/widgets/qprogressbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/qprogressbar.h b/src/widgets/qprogressbar.h index 3ba2388..336ade5 100644 --- a/src/widgets/qprogressbar.h +++ b/src/widgets/qprogressbar.h @@ -96,7 +96,7 @@ protected: virtual bool setIndicator( QString & progress_str, int progress, int totalSteps ); void styleChange( QStyle& ); - bool requireRepaint( int newProgress ) const; + bool repaintRequired() const; private: int total_steps; |