D21204: Ensure no trailing slash in mountpoint read from fstab file.

Anthony Fieroni noreply at phabricator.kde.org
Sat Jun 29 12:35:07 BST 2019


anthonyfieroni added inline comments.

INLINE COMMENTS

> fstabhandling.cpp:231
> +    // it will match its eventual mounted device regardless whether or not it ends with a slash
> +    for (QString device : fstabDevices) {
> +        QString deviceName = device;

get it by const ref.

> fstabhandling.cpp:236
> +        } else {
> +            deviceName = device + '/';
> +        }

deviceName.append('/');

REPOSITORY
  R245 Solid

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

To: meven, bruns, #frameworks
Cc: anthonyfieroni, ngraham, bruns, apol, kde-frameworks-devel, LeGast00n, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190629/a01b0393/attachment.html>


More information about the Kde-frameworks-devel mailing list