diff options
Diffstat (limited to 'src/corelib/serialization/qxmlstream.cpp')
| -rw-r--r-- | src/corelib/serialization/qxmlstream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/serialization/qxmlstream.cpp b/src/corelib/serialization/qxmlstream.cpp index 07211fe2ea2..6e2c0cb9ea4 100644 --- a/src/corelib/serialization/qxmlstream.cpp +++ b/src/corelib/serialization/qxmlstream.cpp @@ -3926,7 +3926,7 @@ void QXmlStreamReaderPrivate::checkToken() if (!ok) { raiseError(QXmlStreamReader::UnexpectedElementError, - QObject::tr("Unexpected token type %1 in %2.") + QXmlStream::tr("Unexpected token type %1 in %2.") .arg(q->tokenString(), contextString(context))); return; } @@ -3937,7 +3937,7 @@ void QXmlStreamReaderPrivate::checkToken() // Raise error on multiple DTD tokens if (foundDTD) { raiseError(QXmlStreamReader::UnexpectedElementError, - QObject::tr("Found second DTD token in %1.").arg(contextString(context))); + QXmlStream::tr("Found second DTD token in %1.").arg(contextString(context))); } else { foundDTD = true; } |
