added toStdString() method to search strings so as to display what is searched

This commit is contained in:
csoler 2017-11-13 23:37:53 +01:00
parent c0951b301e
commit 5fab053fb8
3 changed files with 78 additions and 0 deletions

View file

@ -1785,6 +1785,10 @@ void RsTurtleRegExpSearchRequestItem::performLocalSearch(std::list<TurtleFileInf
if(exp == NULL)
return ;
#ifdef P3TURTLE_DEBUG
std::cerr << "Local search on exp: " << exp->toStdString() << std::endl;
#endif
// now, search!
rsFiles->SearchBoolExp(exp,initialResults,RS_FILE_HINTS_LOCAL | RS_FILE_HINTS_SEARCHABLE,PeerId());