Add db stats option to term explorer

This commit is contained in:
Jean-Francois Dockes
2013-01-10 15:12:43 +01:00
parent a4640c0a03
commit 29d4d959a5
7 changed files with 200 additions and 53 deletions
+1 -5
View File
@@ -443,11 +443,7 @@ bool RclConfig::addLocalFields(map<string, string> *tgt) const
// filtering don't work well together.
vector<string> RclConfig::getAllMimeTypes() const
{
vector<string> lst;
if (mimeconf == 0)
return lst;
lst = mimeconf->getNames("index");
return lst;
return mimeconf ? mimeconf->getNames("index") : vector<string>();
}
// Things for suffix comparison. We define a string class and string