D28599: [configview] Simplify code / workaround Qt5.15 crash
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Sun Apr 5 19:15:49 BST 2020
apol accepted this revision.
apol added a comment.
This revision is now accepted and ready to land.
LGTM
INLINE COMMENTS
> configview.cpp:137
>
> + q->engine()->rootContext()->setContextProperty(QStringLiteral("plasmoid"), applet.data()->property("_plasma_graphicObject").value<QObject *>());
> + q->engine()->rootContext()->setContextProperty(QStringLiteral("configDialog"), q);
It could make sense to use the opportunity to change to QQmlContext::setContextProperties.
REPOSITORY
R242 Plasma Framework (Library)
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D28599
To: davidedmundson, #plasma, apol
Cc: apol, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200405/b5f85ef4/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list