[Differential] [Accepted] D2723: port panel loading away from ksycoca

davidedmundson (David Edmundson) noreply at phabricator.kde.org
Fri Sep 9 13:22:21 UTC 2016


davidedmundson accepted this revision.
davidedmundson added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> scriptengine_v1.cpp:488
>  
> -    const QString constraint = QStringLiteral("[X-KDE-PluginInfo-Name] == '%2'").arg(layout);
> -    KService::List offers = KServiceTypeTrader::self()->query(QStringLiteral("Plasma/LayoutTemplate"), constraint);
> +    auto filter = [layout](const KPluginMetaData &md) -> bool
> +    {

if you do &layout

you'll save doing a copy every time

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

BRANCH
  phab/nococa

REVISION DETAIL
  https://phabricator.kde.org/D2723

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma, davidedmundson
Cc: davidedmundson, andreaska, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160909/5d25820d/attachment.html>


More information about the Plasma-devel mailing list