MCPcopy Create free account
hub / github.com/KDE/kdevelop / isPartOfChoice

Method isPartOfChoice

plugins/grepview/grepdialog.cpp:559–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559bool 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
569void GrepDialog::startSearch()
570{

Callers

nothing calls this directly

Calls 2

getDirectoryChoiceFunction · 0.85
isParentOfMethod · 0.80

Tested by

no test coverage detected