| 557 | } |
| 558 | |
| 559 | bool GrepDialog::isPartOfChoice(const QUrl& url) const |
| 560 | { |
| 561 | const auto choices = getDirectoryChoice(m_settings.searchPaths); |
| 562 | for (const QUrl& choice : choices) { |
| 563 | if(choice.isParentOf(url) || choice == url) |
| 564 | return true; |
| 565 | } |
| 566 | return false; |
| 567 | } |
| 568 | |
| 569 | void GrepDialog::startSearch() |
| 570 | { |
nothing calls this directly
no test coverage detected