*** empty log message ***
This commit is contained in:
@@ -23,8 +23,7 @@ unix {
|
||||
UI_DIR = .ui
|
||||
MOC_DIR = .moc
|
||||
OBJECTS_DIR = .obj
|
||||
LIBS += ../lib/librcl.a -L/usr/local/lib -lxapian -liconv \
|
||||
-lfontconfig -lfreetype -lexpat -lz
|
||||
LIBS += ../lib/librcl.a -L/usr/local/lib -lxapian -liconv
|
||||
INCLUDEPATH += ../common ../index ../query ../unac ../utils
|
||||
}
|
||||
|
||||
|
||||
@@ -311,6 +311,8 @@
|
||||
<include location="local" impldecl="in implementation">recollmain.ui.h</include>
|
||||
</includes>
|
||||
<variables>
|
||||
<variable>std::string stemlang;</variable>
|
||||
<variable>bool dostem;</variable>
|
||||
<variable>int reslist_current;</variable>
|
||||
<variable>int reslist_winfirst;</variable>
|
||||
</variables>
|
||||
|
||||
@@ -259,14 +259,24 @@ void RecollMain::queryText_returnPressed()
|
||||
"to complete?");
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
if (stemlang.empty()) {
|
||||
string param;
|
||||
if (rclconfig->getConfParam("querystemming", param))
|
||||
dostem = ConfTree::stringToBool(param);
|
||||
else
|
||||
dostem = false;
|
||||
if (!rclconfig->getConfParam("querystemminglanguage", stemlang))
|
||||
stemlang = "english";
|
||||
}
|
||||
|
||||
reslist_current = -1;
|
||||
reslist_winfirst = -1;
|
||||
|
||||
QCString u8 = queryText->text().utf8();
|
||||
|
||||
if (!rcldb->setQuery(string((const char *)u8)))
|
||||
if (!rcldb->setQuery(string((const char *)u8), dostem ?
|
||||
Rcl::Db::QO_STEM : Rcl::Db::QO_NONE, stemlang))
|
||||
return;
|
||||
list<string> terms;
|
||||
listNextPB_clicked();
|
||||
|
||||
Reference in New Issue
Block a user