[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdewebdev/quanta/dialogs
From: Jens Herden <jens () kdewebdev ! org>
Date: 2005-09-15 18:03:28
Message-ID: 1126807408.341246.2838.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 460903 by jens:
make the search less restrictive, it was hardly usable before
M +1 -3 specialchardialog.cpp
--- branches/KDE/3.5/kdewebdev/quanta/dialogs/specialchardialog.cpp #460902:460903
@@ -51,10 +51,8 @@
if (filter.isEmpty())
CharsListBox->insertStringList(charList);
else {
- QRegExp p_reg( QString("\\b%1\\b").arg(filter) );
- QString p_begin = QString("%1 ").arg(filter);
for (QStringList::ConstIterator it = charList.begin(); it != charList.end(); ++it)
- if ( (*it).contains(p_reg) || (*it).startsWith(p_begin) )
+ if ( (*it).contains(filter, false) )
CharsListBox->insertItem(*it);
}
if (CharsListBox->currentItem() == -1 && CharsListBox->count())
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic