From 37471a3486a566159bcf0c7ebd68f9064287d0fa Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 13 Mar 2013 21:03:14 +0100 Subject: Use new painter clear function. --- plugingui/checkbox.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugingui/checkbox.cc') diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc index 5888d3c..da3ce4b 100644 --- a/plugingui/checkbox.cc +++ b/plugingui/checkbox.cc @@ -74,6 +74,8 @@ void GUI::CheckBox::repaintEvent(GUI::RepaintEvent *e) Painter p(this); + p.clear(); + float alpha = 0.8; int box = width()