Switch to unified view

a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp
...
...
370
    for (list<string>::iterator it = tl.begin(); it != tl.end(); it++)
370
    for (list<string>::iterator it = tl.begin(); it != tl.end(); it++)
371
        prefs.asearchSubdirHist.push_front(QString::fromUtf8(it->c_str()));
371
        prefs.asearchSubdirHist.push_front(QString::fromUtf8(it->c_str()));
372
    }
372
    }
373
}
373
}
374
374
375
string PrefsPack::stemlang()
376
{
377
    string stemLang = (const char *)prefs.queryStemLang.toAscii();
378
    if (stemLang == "ALL") {
379
  if (theconfig)
380
      theconfig->getConfParam("indexstemminglanguages", stemLang);
381
  else
382
      stemLang = "";
383
    }
384
    return stemLang;
385
}
386
375
QString myGetFileName(bool isdir, QString caption, bool filenosave)
387
QString myGetFileName(bool isdir, QString caption, bool filenosave)
376
{
388
{
377
    LOGDEB1(("myFileDialog: isdir %d\n", isdir));
389
    LOGDEB1(("myFileDialog: isdir %d\n", isdir));
378
    QFileDialog dialog(0, caption);
390
    QFileDialog dialog(0, caption);
379
391