diff options
| author | Ismael Asensio <[email protected]> | 2019-10-08 21:42:11 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-10-08 21:42:11 +0200 |
| commit | df9ca5b0c2238a42cfd829ab9ad30d574e4ece29 (patch) | |
| tree | 28c355150ebeacb3467a45d354b2f210274c947b /src/search/dolphinsearchbox.h | |
| parent | e30357343bdadd6bf6bb94e5adf54d8b840ef1bd (diff) | |
[dolphin/search] Add method isIndexEnabled()
Summary: Extracts the logic for checking if the current path is indexed to its own method.
Test Plan: No behavior changes
Reviewers: elvisangelaccio, ngraham, meven
Reviewed By: ngraham, meven
Subscribers: meven, kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D24478
Diffstat (limited to 'src/search/dolphinsearchbox.h')
| -rw-r--r-- | src/search/dolphinsearchbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h index bb71049c7..9ccd50b83 100644 --- a/src/search/dolphinsearchbox.h +++ b/src/search/dolphinsearchbox.h @@ -160,6 +160,8 @@ private: void updateFacetsToggleButton(); + bool isIndexingEnabled() const; + private: bool m_startedSearching; bool m_active; |
