summaryrefslogtreecommitdiffstats
path: root/src/declarative/extra/qmlxmllistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/extra/qmlxmllistmodel.cpp')
-rw-r--r--src/declarative/extra/qmlxmllistmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/extra/qmlxmllistmodel.cpp b/src/declarative/extra/qmlxmllistmodel.cpp
index 01efa0e..fb26915 100644
--- a/src/declarative/extra/qmlxmllistmodel.cpp
+++ b/src/declarative/extra/qmlxmllistmodel.cpp
@@ -109,7 +109,7 @@ public:
void setQuery(const QString &query)
{
if (query.startsWith(QLatin1Char('/'))) {
- qmlInfo(this) << "An XmlRole query must not start with '/'";
+ qmlInfo(tr("An XmlRole query must not start with '/'"),this);
return;
}
m_query = query;
@@ -545,7 +545,7 @@ void QmlXmlListModel::setQuery(const QString &query)
{
Q_D(QmlXmlListModel);
if (!query.startsWith(QLatin1Char('/'))) {
- qmlInfo(this) << "An XmlListModel query must start with '/' or \"//\"";
+ qmlInfo(tr("An XmlListModel query must start with '/' or \"//\""),this);
return;
}