|
a/src/qtgui/advsearch_w.cpp |
|
b/src/qtgui/advsearch_w.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: advsearch_w.cpp,v 1.20 2008-05-21 07:21:37 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: advsearch_w.cpp,v 1.21 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
|
|
... |
|
... |
371 |
}
|
371 |
}
|
372 |
}
|
372 |
}
|
373 |
if (!hasnotnot) {
|
373 |
if (!hasnotnot) {
|
374 |
if (!hasnot)
|
374 |
if (!hasnot)
|
375 |
return;
|
375 |
return;
|
376 |
QMessageBox::warning(0, "Recoll", tr("Cannot execute pure negative"
|
376 |
QMessageBox::warning(0, "Recoll", tr("Cannot execute pure negative "
|
377 |
"query. Please enter common terms"
|
377 |
"query. Please enter common terms"
|
378 |
" in the 'any words' field"));
|
378 |
" in the 'any words' field"));
|
379 |
return;
|
379 |
return;
|
380 |
}
|
380 |
}
|
381 |
if (restrictFtCB->isOn() && noFiltypsLB->count() > 0) {
|
381 |
if (restrictFtCB->isOn() && noFiltypsLB->count() > 0) {
|