MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / determineSearchResultsHandler

Method determineSearchResultsHandler

src/dialogs/MainWindow.cpp:1968–1979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1966}
1967
1968ISearchResultsHandler *MainWindow::determineSearchResultsHandler()
1969{
1970 // Determine what will get the search results
1971 if (app->getSettings()->combineSearchResults()) {
1972 searchResults.reset(new SearchResultsCollector(findChild<SearchResultsDock *>()));
1973
1974 return searchResults.data();
1975 }
1976 else {
1977 return findChild<SearchResultsDock *>();
1978 }
1979}
1980
1981void MainWindow::restoreWindowState()
1982{

Callers

nothing calls this directly

Calls 2

getSettingsMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected