summaryrefslogtreecommitdiffstats
path: root/src/iconview/qiconview.h
diff options
context:
space:
mode:
authorFrerich Raabe <[email protected]>2014-09-16 03:14:25 +0200
committerSlávek Banko <[email protected]>2014-09-16 03:41:12 +0200
commit9f882f9de741d76b8f45b0dc23d4fe65d6e09d78 (patch)
tree506caec59585b1e056b8509d203fa356e1368f10 /src/iconview/qiconview.h
parentb716176cec88f5fa604b637a947b44b9ff165d5a (diff)
downloadqt3-9f882f9de741d76b8f45b0dc23d4fe65d6e09d78.tar.gz
qt3-9f882f9de741d76b8f45b0dc23d4fe65d6e09d78.zip
Add repaint optimization to TQProgressBar
This optimization makes TQProgressBar::setProgress() only repaint itself if stepping to the new progress would cause a graphical change. This means that for a width W and a total number of steps S, it will repaint itself 'W' times (every 'S/W' steps) instead of 'S' times (every step) as it is right now.
Diffstat (limited to 'src/iconview/qiconview.h')
0 files changed, 0 insertions, 0 deletions