summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbviewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.cpp')
-rw-r--r--utils/themeeditor/graphics/rbviewport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.cpp b/utils/themeeditor/graphics/rbviewport.cpp
index 3a20175..c5b88b3 100644
--- a/utils/themeeditor/graphics/rbviewport.cpp
+++ b/utils/themeeditor/graphics/rbviewport.cpp
@@ -100,7 +100,8 @@ RBViewport::RBViewport(skin_element* node, const RBRenderInfo& info)
else
h = node->params[param].data.numeric;
- size = QRectF(x, y, w, h);
+ setPos(x, y);
+ size = QRectF(0, 0, w, h);
}
}