|
a/src/qtgui/ssearch_w.cpp |
|
b/src/qtgui/ssearch_w.cpp |
|
... |
|
... |
253 |
return false;
|
253 |
return false;
|
254 |
}
|
254 |
}
|
255 |
Rcl::SearchDataClause *clp = 0;
|
255 |
Rcl::SearchDataClause *clp = 0;
|
256 |
if (tp == SST_FNM) {
|
256 |
if (tp == SST_FNM) {
|
257 |
clp = new Rcl::SearchDataClauseFilename(u8);
|
257 |
clp = new Rcl::SearchDataClauseFilename(u8);
|
258 |
} else if (!TextSplit::hasVisibleWhite(u8)) {
|
|
|
259 |
// If there is no white space inside the query, then the user
|
|
|
260 |
// certainly means it as a phrase.
|
|
|
261 |
clp = new Rcl::SearchDataClauseDist(Rcl::SCLT_PHRASE, u8, 0);
|
|
|
262 |
} else {
|
258 |
} else {
|
263 |
// ANY or ALL, several words.
|
259 |
// ANY or ALL, several words.
|
264 |
if (tp == SST_ANY) {
|
260 |
if (tp == SST_ANY) {
|
265 |
clp = new Rcl::SearchDataClauseSimple(Rcl::SCLT_OR, u8);
|
261 |
clp = new Rcl::SearchDataClauseSimple(Rcl::SCLT_OR, u8);
|
266 |
} else {
|
262 |
} else {
|