aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickcontrol.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-12-14 15:50:32 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-12-15 09:27:44 +0000
commita03f18e026bb564237702cab477589b6916a0102 (patch)
treef891b97bb8cf8485f13e57d6540ba5b963855d59 /src/quicktemplates2/qquickcontrol.cpp
parent4a077f719dff799a89b5f370dfc71a7bd14b0930 (diff)
Control: defer the execution of the background item
Task-number: QTBUG-50992 Change-Id: I6372e143c68f0a5bf7212d759281acef3c81618e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickcontrol.cpp')
-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 2f3791d5..26f1f7e8 100644
--- a/src/quicktemplates2/qquickcontrol.cpp
+++ b/src/quicktemplates2/qquickcontrol.cpp
@@ -1320,6 +1320,7 @@ void QQuickControl::classBegin()
void QQuickControl::componentComplete()
{
Q_D(QQuickControl);
+ d->executeBackground(true);
QQuickItem::componentComplete();
d->resizeContent();
if (!d->hasLocale)