|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.50 2008-09-16 10:13:48 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.51 2008-09-25 06:00:24 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
448 |
rclconfig->getConfParam("indexstemminglanguages", stemLang);
|
448 |
rclconfig->getConfParam("indexstemminglanguages", stemLang);
|
449 |
}
|
449 |
}
|
450 |
Rcl::Query *query = new Rcl::Query(rcldb);
|
450 |
Rcl::Query *query = new Rcl::Query(rcldb);
|
451 |
|
451 |
|
452 |
if (!query || !query->setQuery(sdata, qopts, stemLang)) {
|
452 |
if (!query || !query->setQuery(sdata, qopts, stemLang)) {
|
453 |
QMessageBox::warning(0, "Recoll", tr("Cant start query: ") +
|
453 |
QMessageBox::warning(0, "Recoll", tr("Can't start query: ") +
|
454 |
QString::fromAscii(query->getReason().c_str()));
|
454 |
QString::fromAscii(query->getReason().c_str()));
|
455 |
QApplication::restoreOverrideCursor();
|
455 |
QApplication::restoreOverrideCursor();
|
456 |
return;
|
456 |
return;
|
457 |
}
|
457 |
}
|
458 |
curPreview = 0;
|
458 |
curPreview = 0;
|