diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-22 14:03:01 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-22 14:19:40 +0200 |
commit | 66420ea45b7d4f99820850a60273335f13f2bb28 (patch) | |
tree | 04c860635d6496a7cb6b93e9bff2ff7f7523c246 /plugingui/progressbar.cc | |
parent | 648e44f1e19531e9849a536d7589f918b58494b1 (diff) |
Remove unnecessary painter clears.
Diffstat (limited to 'plugingui/progressbar.cc')
-rw-r--r-- | plugingui/progressbar.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugingui/progressbar.cc b/plugingui/progressbar.cc index c7550c9..dd3e130 100644 --- a/plugingui/progressbar.cc +++ b/plugingui/progressbar.cc @@ -78,8 +78,6 @@ void ProgressBar::repaintEvent(RepaintEvent* repaintEvent) int brd = 4; int val = (width() - (2 * brd)) * progress; - p.clear(); - bar_bg.setSize(width(), height()); p.drawImage(0, 0, bar_bg); |