D11304: Fix bug where dolphin fails to select any item where a path is created using "Create New | Folder"

Elvis Angelaccio noreply at phabricator.kde.org
Thu Mar 15 22:24:34 GMT 2018


elvisangelaccio added inline comments.

INLINE COMMENTS

> dolphinview.cpp:1340
> +    // In case url is located in a subdirectory, select its ancestor located in the current dir.
> +    const QString dir = m_model->directory().toString() + QString(QDir::separator());
> +    const int dirLen = dir.length();

Are we sure `m_model->directory()` does not already end with a slash?

REPOSITORY
  R318 Dolphin

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

To: emateli, rkflx, ngraham, elvisangelaccio
Cc: #dolphin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180315/328bba44/attachment.htm>


More information about the kfm-devel mailing list