D23706: Fix wrong window titles

Elvis Angelaccio noreply at phabricator.kde.org
Sat Sep 14 13:47:23 BST 2019


elvisangelaccio requested changes to this revision.
elvisangelaccio added a comment.
This revision now requires changes to proceed.


  Please change line 459 to use the following code instead:
  
    const auto& matchedPlaces = placesModel->match(placesModel->index(0,0), KFilePlacesModel::UrlRole, url().adjusted(QUrl::StripTrailingSlash), 1, Qt::MatchStartsWith);
  
  i.e. always strip the trailing slash and check whether the place URL starts with the stripped URL.

REPOSITORY
  R318 Dolphin

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

To: nazark, #dolphin, elvisangelaccio
Cc: elvisangelaccio, ngraham, kfm-devel, iasensio, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190914/6d6bde02/attachment.htm>


More information about the kfm-devel mailing list