fix the external index dialog to accept either xapian directory or recoll config directories

This commit is contained in:
Jean-Francois Dockes
2013-01-30 11:46:29 +01:00
parent d3631b5ddf
commit 6b40f9b3f4
3 changed files with 50 additions and 34 deletions
+3 -2
View File
@@ -49,10 +49,13 @@ using namespace std;
#include "readfile.h"
#include "fstreewalk.h"
// Static, logically const, RclConfig members are initialized once from the
// first object build during process initialization.
#ifndef RCL_INDEX_STRIPCHARS
// We default to a case- and diacritics-less index for now
bool o_index_stripchars = true;
#endif
string RclConfig::o_localecharset;
bool ParamStale::needrecompute()
{
@@ -107,8 +110,6 @@ bool RclConfig::isDefaultConfig() const
return !defaultconf.compare(specifiedconf);
}
string RclConfig::o_localecharset;
RclConfig::RclConfig(const string *argcnf)
{
zeroMe();