|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
|
... |
|
... |
469 |
rclconfig->getConfParam("indexstemminglanguages", stemLang);
|
469 |
rclconfig->getConfParam("indexstemminglanguages", stemLang);
|
470 |
}
|
470 |
}
|
471 |
sdata->setStemlang(stemLang);
|
471 |
sdata->setStemlang(stemLang);
|
472 |
|
472 |
|
473 |
Rcl::Query *query = new Rcl::Query(rcldb);
|
473 |
Rcl::Query *query = new Rcl::Query(rcldb);
|
|
|
474 |
query->setCollapseDuplicates(prefs.collapseDuplicates);
|
474 |
|
475 |
|
475 |
if (!query || !query->setQuery(sdata)) {
|
476 |
if (!query || !query->setQuery(sdata)) {
|
476 |
QMessageBox::warning(0, "Recoll", tr("Can't start query: ") +
|
477 |
QMessageBox::warning(0, "Recoll", tr("Can't start query: ") +
|
477 |
QString::fromAscii(query->getReason().c_str()));
|
478 |
QString::fromAscii(query->getReason().c_str()));
|
478 |
QApplication::restoreOverrideCursor();
|
479 |
QApplication::restoreOverrideCursor();
|