| 1966 | } |
| 1967 | |
| 1968 | ISearchResultsHandler *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 | |
| 1981 | void MainWindow::restoreWindowState() |
| 1982 | { |
nothing calls this directly
no test coverage detected