| 695 | } |
| 696 | |
| 697 | void 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 | |
| 708 | void ProjectFileDialog::addExcludePath(const QString &path) |
| 709 | { |