From 5b50373b3797a5fb0acfe102f86cb4e668eda2a1 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 25 Sep 2014 18:02:59 +0200 Subject: [PATCH] if rootObject exists, component is here and ready Change-Id: I37deb527a04dde9ce458c5aea8e178b3d08b1b46 --- src/plasmaquick/appletquickitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index 9c7f4b7e2..45055a5f8 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -221,7 +221,7 @@ QQuickItem *AppletQuickItemPrivate::createCompactRepresentationExpanderItem() void AppletQuickItemPrivate::compactRepresentationCheck() { - if (!qmlObject->rootObject() || !qmlObject->mainComponent() || qmlObject->mainComponent()->status() != QQmlComponent::Ready) { + if (!qmlObject->rootObject()) { return; }