a/src/qtgui/advsearch_w.cpp b/src/qtgui/advsearch_w.cpp
...
...
415
    sdata->setMaxSize(size);
415
    sdata->setMaxSize(size);
416
    }
416
    }
417
417
418
    if (!subtreeCMB->currentText().isEmpty()) {
418
    if (!subtreeCMB->currentText().isEmpty()) {
419
    QString current = subtreeCMB->currentText();
419
    QString current = subtreeCMB->currentText();
420
    sdata->setTopdir((const char*)subtreeCMB->currentText().toUtf8(),
420
    sdata->addDirSpec((const char*)subtreeCMB->currentText().toUtf8(),
421
             direxclCB->isChecked());
421
              direxclCB->isChecked());
422
    // Keep history clean and sorted. Maybe there would be a
422
    // Keep history clean and sorted. Maybe there would be a
423
    // simpler way to do this
423
    // simpler way to do this
424
    list<QString> entries;
424
    list<QString> entries;
425
    for (int i = 0; i < subtreeCMB->count(); i++) {
425
    for (int i = 0; i < subtreeCMB->count(); i++) {
426
        entries.push_back(subtreeCMB->itemText(i));
426
        entries.push_back(subtreeCMB->itemText(i));