D8106: Make sure there's not a path within the filename

Albert Astals Cid noreply at phabricator.kde.org
Mon Oct 2 17:34:22 UTC 2017


aacid added inline comments.

INLINE COMMENTS

> shareplugin.cpp:69
> +    int idx = filename.lastIndexOf(QLatin1Char('/'));
> +    return idx>=0 ? filename.mid(idx + 1) : 0;
> +}

0 as a QString?

REPOSITORY
  R224 KDE Connect

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

To: apol, #kde_connect, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20171002/aa3a003a/attachment.html>


More information about the KDEConnect mailing list