diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-21 19:53:49 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-21 19:53:49 +0200 |
commit | 988aeacd6cf77a095a3afdde0ca32052cfe90a84 (patch) | |
tree | 9afbcdd7e34c4a3ef6dd8656b6e19185f94827de /plugingui/widget.cc | |
parent | d46975bf766e8b7d81fbc17b804724a426918cca (diff) |
Remove unneeded and possibly incorrect optimisation.
Diffstat (limited to 'plugingui/widget.cc')
-rw-r--r-- | plugingui/widget.cc | 5 |
1 files changed, 0 insertions, 5 deletions
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(); |