|
a/src/qtgui/ssearch_w.cpp |
|
b/src/qtgui/ssearch_w.cpp |
|
... |
|
... |
241 |
(const char *)prefs.autoSuffs.toUtf8());
|
241 |
(const char *)prefs.autoSuffs.toUtf8());
|
242 |
else
|
242 |
else
|
243 |
sdata = wasaStringToRcl(theconfig, stemlang, u8, reason);
|
243 |
sdata = wasaStringToRcl(theconfig, stemlang, u8, reason);
|
244 |
if (sdata == 0) {
|
244 |
if (sdata == 0) {
|
245 |
QMessageBox::warning(0, "Recoll", tr("Bad query string") + ": " +
|
245 |
QMessageBox::warning(0, "Recoll", tr("Bad query string") + ": " +
|
246 |
QString::fromAscii(reason.c_str()));
|
246 |
QString::fromUtf8(reason.c_str()));
|
247 |
return false;
|
247 |
return false;
|
248 |
}
|
248 |
}
|
249 |
} else {
|
249 |
} else {
|
250 |
sdata = new Rcl::SearchData(Rcl::SCLT_OR, stemlang);
|
250 |
sdata = new Rcl::SearchData(Rcl::SCLT_OR, stemlang);
|
251 |
if (sdata == 0) {
|
251 |
if (sdata == 0) {
|