Separator is ' ', not ';'. Thanks Anne.

svn path=/trunk/KDE/kdebase/apps/; revision=819492
This commit is contained in:
Rafael Fernández López 2008-06-11 12:26:55 +00:00
parent 605ba7360a
commit 6ac5821abd

View file

@ -67,7 +67,7 @@ bool ProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent
const KFileItem item = dirModel->itemForIndex(dirModel->index(sourceRow, KDirModel::Name, sourceParent));
const QString regExpOrig = filterRegExp().pattern();
const QStringList regExps = regExpOrig.split(';');
const QStringList regExps = regExpOrig.split(' ');
foreach (const QString &regExpStr, regExps) {
QRegExp regExp(regExpStr);
regExp.setPatternSyntax(QRegExp::Wildcard);