summaryrefslogtreecommitdiff
path: root/plugingui/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/widget.cc')
-rw-r--r--plugingui/widget.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugingui/widget.cc b/plugingui/widget.cc
index 5c8ff46..4b92e65 100644
--- a/plugingui/widget.cc
+++ b/plugingui/widget.cc
@@ -136,7 +136,6 @@ size_t Widget::height()
size_t Widget::windowX()
{
size_t window_x = x();
-
if(parent)
{
window_x += parent->windowX();