| 706 | } |
| 707 | |
| 708 | void ProjectFileDialog::addExcludePath(const QString &path) |
| 709 | { |
| 710 | if (path.isEmpty()) |
| 711 | return; |
| 712 | |
| 713 | const QString newpath = QDir::toNativeSeparators(path); |
| 714 | auto *item = new QListWidgetItem(newpath); |
| 715 | item->setFlags(item->flags() | Qt::ItemIsEditable); |
| 716 | mUI->mListExcludedPaths->addItem(item); |
| 717 | } |
| 718 | |
| 719 | QString ProjectFileDialog::getRootPath() const |
| 720 | { |