diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-03-17 15:48:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-18 09:56:17 +0100 |
commit | 5619874cadc3c0f7524883d11da3ed0de17b28fb (patch) | |
tree | 36fe9817e967c26c270854b7f247f223180a0a33 /src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp | |
parent | c2a59fa4042cfcb39e3a124eee2a4bd77770fe84 (diff) | |
download | qtlocation-5619874cadc3c0f7524883d11da3ed0de17b28fb.tar.gz |
Nokia plugin: Move message about malformed reply to common messages.
Change-Id: Ic5611c5d8bc7ac697bed5ddb9294f6ed306ab2b7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp b/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp index 8690eb65..f1d0f4d4 100644 --- a/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp +++ b/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp @@ -48,8 +48,10 @@ #include "qgeocodereply_nokia.h" #include "qgeocodexmlparser.h" +#include "qgeoerror_messages.h" #include <QtPositioning/QGeoShape> +#include <QtCore/QCoreApplication> Q_DECLARE_METATYPE(QList<QGeoLocation>) @@ -136,7 +138,7 @@ void QGeoCodeReplyNokia::parseError(const QString &errorString) Q_UNUSED(errorString) setError(QGeoCodeReply::ParseError, - tr("The response from the service was not in a recognisable format.")); + QCoreApplication::translate(NOKIA_PLUGIN_CONTEXT_NAME, RESPONSE_NOT_RECOGNIZABLE)); abort(); } |