mainwindow: Don't pass empty ignore patterns to indexer
This commit is contained in:
父節點
544554ead2
當前提交
71f81bb682
@ -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 =
|
||||
|
載入中…
新增問題並參考
Block a user