Improve debug information for some plasmoids
I've been trying to figure out why there's so many qml scripts which errors always specify "<Unknown Files>". This patch is not ideal, but improves the situation slightly. REVIEW: 123575
This commit is contained in:
parent
37590e2d2b
commit
dedc3cc9ae
@ -525,6 +525,8 @@ void AppletQuickItem::init()
|
||||
QQmlProperty p(this, "Layout.minimumWidth", QtQml::qmlContext(d->qmlObject->rootObject()));
|
||||
|
||||
d->compactRepresentationCheckTimer.start();
|
||||
qmlObject()->engine()->rootContext()->setBaseUrl(qmlObject()->source());
|
||||
qmlObject()->engine()->setContextForObject(this, qmlObject()->engine()->rootContext());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user