aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-01-22 10:58:06 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-01-22 10:21:31 +0000
commitaca950e43a25f4b80707ff4e2f17d71aef441d52 (patch)
treeb3729c20ee750a8b52d40505631d90ae928af3ff /src
parentffda6894cc80909f900447d4de24bcc0effd467b (diff)
Control: fix background size regression caused by deferred execution
Task-number: QTBUG-65880 Change-Id: Ic4f9fb087f4a78bd4c6257828011240186b6b22e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quicktemplates2/qquickcontrol.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickcontrol.cpp b/src/quicktemplates2/qquickcontrol.cpp
index 809c9f94..8d571c34 100644
--- a/src/quicktemplates2/qquickcontrol.cpp
+++ b/src/quicktemplates2/qquickcontrol.cpp
@@ -1320,6 +1320,7 @@ void QQuickControl::componentComplete()
d->executeBackground(true);
d->executeContentItem(true);
QQuickItem::componentComplete();
+ d->resizeBackground();
d->resizeContent();
if (!d->hasLocale)
d->locale = QQuickControlPrivate::calcLocale(d->parentItem);