summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-21 19:53:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-21 19:53:49 +0200
commit988aeacd6cf77a095a3afdde0ca32052cfe90a84 (patch)
tree9afbcdd7e34c4a3ef6dd8656b6e19185f94827de /plugingui
parentd46975bf766e8b7d81fbc17b804724a426918cca (diff)
Remove unneeded and possibly incorrect optimisation.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/widget.cc5
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();