Fix activating a found item with hash in URL inside search dialog.

Authored by martinkostolny on Mar 11 2018, 1:26 AM.

Description

Fix activating a found item with hash in URL inside search dialog.

Summary:
When searched item has '#' in its URL and is activated (by pressing enter)
it should be shown inside its folder. But instead only folder before '#'
is shown. This patch should fix the issue.

Test Plan:

  1. create folder '#subfolder' and place a file in it
  2. go inside this new folder and search for files (Ctrl+s) with Search Dialog
  3. choose found file and press enter

Reviewers: Krusader

Differential Revision: https://phabricator.kde.org/D11222

Details