D26111: Runner: make recentdocument use KActivityStats data

Alexander Lohnau noreply at phabricator.kde.org
Mon Apr 27 14:47:21 BST 2020


alex added inline comments.

INLINE COMMENTS

> recentdocuments.cpp:98
> +        QString destUrlString = url.adjusted(QUrl::RemoveFilename).path();
> +        if (destUrlString.startsWith(homePath)) {
> +            destUrlString = QLatin1String("~") + destUrlString.mid(homePath.length());

You could use KShell:: tildeCollapse here :-)

REPOSITORY
  R120 Plasma Workspace

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

To: meven, #plasma, ivan, ngraham, broulik
Cc: alex, broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200427/e752d81b/attachment.html>


More information about the Plasma-devel mailing list