From 988aeacd6cf77a095a3afdde0ca32052cfe90a84 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 21 Apr 2017 19:53:49 +0200 Subject: Remove unneeded and possibly incorrect optimisation. --- plugingui/widget.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugingui') diff --git a/plugingui/widget.cc b/plugingui/widget.cc index 00acfbf..4a99524 100644 --- a/plugingui/widget.cc +++ b/plugingui/widget.cc @@ -67,11 +67,6 @@ void Widget::hide() void Widget::setVisible(bool visible) { - if(_visible == visible) - { - return; - } - _visible = visible; pixbuf.visible = visible; redraw(); -- cgit v1.2.3