summaryrefslogtreecommitdiff
path: root/plugingui/frame.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/frame.cc
parent648e44f1e19531e9849a536d7589f918b58494b1 (diff)
Remove unnecessary painter clears.
Diffstat (limited to 'plugingui/frame.cc')
-rw-r--r--plugingui/frame.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugingui/frame.cc b/plugingui/frame.cc
index ed4a67b..9a2928c 100644
--- a/plugingui/frame.cc
+++ b/plugingui/frame.cc
@@ -53,7 +53,6 @@ FrameWidget::FrameWidget(Widget* parent, bool has_switch)
void FrameWidget::repaintEvent(RepaintEvent* repaintEvent)
{
Painter p(*this);
- p.clear();
int center_x = width() / 2;
auto title_buf = title.c_str();