mainwindow: Don't pass empty ignore patterns to indexer

Šī revīzija ir iekļauta:
Albert S. 2024-05-24 09:54:31 +02:00
vecāks 544554ead2
revīzija 71f81bb682

Parādīt failu

@ -319,7 +319,9 @@ void MainWindow::startIndexing()
}
this->indexer->setTargetPaths(paths);
QString ignorePatterns = ui->txtIgnorePatterns->text();
this->indexer->setIgnorePattern(ignorePatterns.split(";"));
QStringList patterns = ignorePatterns.split(";");
patterns.removeAll(QString{});
this->indexer->setIgnorePattern(patterns);
FileSaverOptions options;
options.fillExistingContentless =