mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
Fix for ticket #124
Search don't work with utf8 chars. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ac6f4539e9
commit
154d315c92
2 changed files with 8 additions and 8 deletions
|
@ -158,7 +158,7 @@ Expression* ExpressionWidget::getRsExpression()
|
|||
QString txt = exprParamElem->getStrSearchValue();
|
||||
QStringList words = txt.split(" ", QString::SkipEmptyParts);
|
||||
for (int i = 0; i < words.size(); ++i)
|
||||
wordList.push_back(words.at(i).toStdString());
|
||||
wordList.push_back(words.at(i).toUtf8().constData());
|
||||
} else if (inRangedConfig){
|
||||
// correct for reversed ranges to be nice to the user
|
||||
lowVal = exprParamElem->getIntLowValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue