summaryrefslogtreecommitdiffstats
path: root/src/iconview/qiconview.h
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@kde.org>2014-09-16 03:14:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-12-15 19:54:01 +0100
commita356a05c01adbb76af956f1dc33dd7a8a80de5d2 (patch)
tree1a16f52dc7d1e857fe9d051e3bb611dab5cf91f8 /src/iconview/qiconview.h
parentb5cb163e01b2b2306e20d41d61163b06881fd089 (diff)
downloadqt3-a356a05c01adbb76af956f1dc33dd7a8a80de5d2.tar.gz
qt3-a356a05c01adbb76af956f1dc33dd7a8a80de5d2.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. (cherry picked from commit 9f882f9de741d76b8f45b0dc23d4fe65d6e09d78)
Diffstat (limited to 'src/iconview/qiconview.h')
0 files changed, 0 insertions, 0 deletions