MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / addCheckPath

Method addCheckPath

gui/projectfiledialog.cpp:697–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695}
696
697void ProjectFileDialog::addCheckPath(const QString &path)
698{
699 if (path.isEmpty())
700 return;
701
702 const QString newpath = QDir::toNativeSeparators(path);
703 auto *item = new QListWidgetItem(newpath);
704 item->setFlags(item->flags() | Qt::ItemIsEditable);
705 mUI->mListCheckPaths->addItem(item);
706}
707
708void ProjectFileDialog::addExcludePath(const QString &path)
709{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
setFlagsMethod · 0.80
addItemMethod · 0.80

Tested by

no test coverage detected