diff options
| author | Ismael Asensio <[email protected]> | 2019-10-20 11:43:32 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-10-20 11:43:32 +0200 |
| commit | 167d5184eda19f8ce549d6a645c800ab39bce936 (patch) | |
| tree | 63f0bdcc7a432fb84a6a307159ab7b3ed726d9d4 /src/kitemviews | |
| parent | 0caab3c0a23c6b96ef3cba2cf94c61a4c10e7b43 (diff) | |
[dolphin/search] Fix search behavior when selecting "Your Files"
Summary:
Fix the search box forgetting the location where the user was previously searching into.
To do a search on "All Files" instead of setting the `m_searchPath` to `$HOME`, it checks the button state, so the "From Here" location is not lost.
As an added benefit, selecting "Your Files" when in a non-indexed folder will use the baloo search instead of a fully non-indexed search from $HOME.
This issue is the last remaining one of the series started with D24422, with the purpose of fixing the searchbox parsing and update.
Test Plan:
- Toggle between "From Here/Your Files" and navigate between locations
- The search box remembers the location and keeps a coherent state
{F7575402}
Reviewers: #dolphin, elvisangelaccio
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D24577
Diffstat (limited to 'src/kitemviews')
0 files changed, 0 insertions, 0 deletions
