diff options
| author | Ismael Asensio <[email protected]> | 2019-10-07 21:50:59 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-10-07 21:50:59 +0200 |
| commit | e30357343bdadd6bf6bb94e5adf54d8b840ef1bd (patch) | |
| tree | 6f663966e66c859a8f8c234e136a57f28bd6ef4f /src/dolphinremoveaction.cpp | |
| parent | 304ab14e0883b0c601dc3c7f7c26387245db66e0 (diff) | |
[dolphin/search] Avoid unnecesary reloads on setSearchPath
Summary:
Check in `setSearchPath()` if the `url` passed is already the `searchPath`
This was causing an effect where reloading the same search URL results on buttons `From Here/Everywhere` toggling.
See D24422
Test Plan:
On your home folder press `Ctrl-F` several times
Buttons `From Here/Everywhere` should now not toggle each time
Reviewers: #dolphin, elvisangelaccio, meven, ngraham
Reviewed By: #dolphin, ngraham
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D24449
Diffstat (limited to 'src/dolphinremoveaction.cpp')
0 files changed, 0 insertions, 0 deletions
