summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp')
-rw-r--r--src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp b/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
index 72f2c60d..861436c5 100644
--- a/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
+++ b/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
@@ -48,9 +48,12 @@
#include "qgeoroutereply_nokia.h"
#include "qgeoroutexmlparser.h"
+#include "qgeoerror_messages.h"
#include <qgeorouterequest.h>
+#include <QtCore/QCoreApplication>
+
Q_DECLARE_METATYPE(QList<QGeoRoute>)
QT_BEGIN_NAMESPACE
@@ -150,7 +153,7 @@ void QGeoRouteReplyNokia::parserError(const QString &errorString)
--m_parsers;
setError(QGeoRouteReply::ParseError,
- tr("The response from the service was not in a recognisable format."));
+ QCoreApplication::translate(NOKIA_PLUGIN_CONTEXT_NAME, RESPONSE_NOT_RECOGNIZABLE));
abort();
}