summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-05-01 04:05:52 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-05-01 04:05:52 (GMT)
commit282da61249a7b2ba47afadb94bfcd2517ea60d9a (patch)
treebc8d6bc6945b57aa7477878c499e76e3268b7f64
parent3dea1411dbb4fe3a570c2f5516dc6b5991c6db81 (diff)
downloadQt-282da61249a7b2ba47afadb94bfcd2517ea60d9a.zip
Qt-282da61249a7b2ba47afadb94bfcd2517ea60d9a.tar.gz
Qt-282da61249a7b2ba47afadb94bfcd2517ea60d9a.tar.bz2
Small fix for QXmlListModel.
-rw-r--r--src/declarative/extra/qmlxmllistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/extra/qmlxmllistmodel.cpp b/src/declarative/extra/qmlxmllistmodel.cpp
index 6b8f285..badc6fb 100644
--- a/src/declarative/extra/qmlxmllistmodel.cpp
+++ b/src/declarative/extra/qmlxmllistmodel.cpp
@@ -346,7 +346,7 @@ void QmlXmlListModel::doSubquery(int index) const
s.replace(QLatin1String("&gt;"), QLatin1String(">"));
s.replace(QLatin1String("&amp;"), QLatin1String("&"));
}
- resultList << s;
+ resultList << s.trimmed();
//qDebug() << s;
}
b.seek(0);