summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qmlview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/qmlview.cpp b/src/declarative/util/qmlview.cpp
index 7cce2da..805612e 100644
--- a/src/declarative/util/qmlview.cpp
+++ b/src/declarative/util/qmlview.cpp
@@ -340,6 +340,8 @@ void QmlView::continueExecute()
d->initialSize.setWidth(d->root->width());
if (d->initialSize.height() <= 0 && d->root->height() > 0)
d->initialSize.setHeight(d->root->height());
+ resize(d->initialSize);
+
if (d->resizable) {
d->root->setWidth(width());
d->root->setHeight(height());