mirror of https://github.com/kiwix/libkiwix.git
+ remove debug code
This commit is contained in:
parent
bf9bed56d7
commit
2bcd992049
|
@ -292,15 +292,11 @@ namespace kiwix {
|
||||||
this->suggestions.clear();
|
this->suggestions.clear();
|
||||||
|
|
||||||
if (prefix.size()) {
|
if (prefix.size()) {
|
||||||
cout << prefix << endl;
|
|
||||||
|
|
||||||
for (zim::File::const_iterator it = zimFileHandler->findByTitle('A', prefix);
|
for (zim::File::const_iterator it = zimFileHandler->findByTitle('A', prefix);
|
||||||
it != zimFileHandler->end() && it->getTitle().compare(0, prefix.size(), prefix) == 0
|
it != zimFileHandler->end() && it->getTitle().compare(0, prefix.size(), prefix) == 0
|
||||||
&& this->suggestions.size() < suggestionsCount ; ++it) {
|
&& this->suggestions.size() < suggestionsCount ; ++it) {
|
||||||
|
|
||||||
this->suggestions.push_back(it->getTitle());
|
this->suggestions.push_back(it->getTitle());
|
||||||
|
|
||||||
cout << " " << it->getTitle() << endl;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
retVal = false;
|
retVal = false;
|
||||||
|
|
Loading…
Reference in New Issue