D23200: Fixes a crash in Peruse triggered by baloo

Igor Poboiko noreply at phabricator.kde.org
Sun Aug 18 12:14:43 BST 2019


poboiko added a comment.


  AFAIK `canonicalFilePath()` cannot return path without slash. The result is either empty (if path does not exist; this is covered by first `if`), or a proper path. The second check is redundant.

REPOSITORY
  R293 Baloo

BRANCH
  fixCrashWithEmptyFolder

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

To: tcanabrava, #baloo, astippich, bruns, poboiko, ngraham
Cc: ngraham, kde-frameworks-devel, #baloo, LeGast00n, fbampaloukas, domson, ashaposhnikov, michaelh, astippich, spoorun, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190818/f8a7ea94/attachment.html>


More information about the Kde-frameworks-devel mailing list