D13054: SwipeItem: Fix using QRC resources and custom image providers.

Kai Uwe Broulik noreply at phabricator.kde.org
Wed May 23 12:45:58 UTC 2018


broulik added inline comments.

INLINE COMMENTS

> desktopicon.cpp:440
> +        // QRC paths are not correctly handled by .path()
> +        if (iconId.size() >=2 && iconId.left(2) == QLatin1String("/:"))
> +            iconId = iconId.remove(0, 1);

`startWith()` avoids creating a temporary string just for comparison

REPOSITORY
  R169 Kirigami

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

To: lepagevalleeemmanuel, mart
Cc: broulik, plasma-devel, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180523/6334ee33/attachment.html>


More information about the Plasma-devel mailing list