diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index f0b540b91..9aa28763a 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -89,8 +89,6 @@ void AppletQuickItemPrivate::connectLayoutAttached(QObject *item) propagateSizeHint("fillWidth"); propagateSizeHint("fillHeight"); - //HACK: check the Layout properties we wrote - QQmlProperty p(q, "Layout.minimumWidth", QtQml::qmlContext(qmlObject->rootObject())); QObject *ownLayout = 0; @@ -500,6 +498,9 @@ void AppletQuickItem::init() d->compactRepresentationExpander->loadUrl(QUrl::fromLocalFile(d->coronaPackage.filePath("compactapplet"))); } + //HACK: check the Layout properties we wrote + QQmlProperty p(this, "Layout.minimumWidth", QtQml::qmlContext(d->qmlObject->rootObject())); + d->compactRepresentationCheckTimer.start(); }