summaryrefslogtreecommitdiff
path: root/plugingui/listbox.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-22 14:03:01 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-22 14:19:40 +0200
commit66420ea45b7d4f99820850a60273335f13f2bb28 (patch)
tree04c860635d6496a7cb6b93e9bff2ff7f7523c246 /plugingui/listbox.cc
parent648e44f1e19531e9849a536d7589f918b58494b1 (diff)
Remove unnecessary painter clears.
Diffstat (limited to 'plugingui/listbox.cc')
-rw-r--r--plugingui/listbox.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugingui/listbox.cc b/plugingui/listbox.cc
index 15e4620..28c074e 100644
--- a/plugingui/listbox.cc
+++ b/plugingui/listbox.cc
@@ -84,8 +84,6 @@ void ListBox::repaintEvent(RepaintEvent* repaintEvent)
{
Painter p(*this);
- p.clear();
-
int w = width();
int h = height();
if(w == 0 || h == 0)