From 66420ea45b7d4f99820850a60273335f13f2bb28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sat, 22 Apr 2017 14:03:01 +0200 Subject: Remove unnecessary painter clears. --- plugingui/checkbox.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'plugingui/checkbox.cc') diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc index fc147d5..1893f59 100644 --- a/plugingui/checkbox.cc +++ b/plugingui/checkbox.cc @@ -42,7 +42,6 @@ CheckBox::CheckBox(Widget* parent) void CheckBox::repaintEvent(RepaintEvent* repaintEvent) { Painter p(*this); - p.clear(); p.drawImage( 0, (knob.height() - bg_on.height()) / 2, state ? bg_on : bg_off); -- cgit v1.2.3