D18915: Fix batchrename changing extension to lower case

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Mar 8 21:13:03 GMT 2019


bruns added inline comments.

INLINE COMMENTS

> batchrenamejob.cpp:170
> +    if (extensionLen) {
> +        extension = filename.right(extensionLen);
> +    } else {

You can just return here.

> batchrenamejob.cpp:175
> +        if (dotIndex != -1) {
> +            extension = filename.mid(dotIndex+1);
> +        }

just return

REPOSITORY
  R241 KIO

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

To: cfoster, #dolphin, #frameworks, abalaji
Cc: cfeck, bruns, ngraham, elvisangelaccio, chinmoyr, kde-frameworks-devel, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190308/a568d04c/attachment.htm>


More information about the kfm-devel mailing list