allow multiple directory specs as in dir:/home/me -dir:tmp

This commit is contained in:
"Jean-Francois Dockes ext:(%22)
2012-08-19 08:27:12 +02:00
parent 0e0f41ef0a
commit 6eada80b08
5 changed files with 37 additions and 29 deletions
+2 -2
View File
@@ -417,8 +417,8 @@ void AdvSearch::runSearch()
if (!subtreeCMB->currentText().isEmpty()) {
QString current = subtreeCMB->currentText();
sdata->setTopdir((const char*)subtreeCMB->currentText().toUtf8(),
direxclCB->isChecked());
sdata->addDirSpec((const char*)subtreeCMB->currentText().toUtf8(),
direxclCB->isChecked());
// Keep history clean and sorted. Maybe there would be a
// simpler way to do this
list<QString> entries;