diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-05-14 14:34:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 14:57:31 +0200 |
commit | cb424d26eac75a14316726b4687758fd10c85563 (patch) | |
tree | 9d1b96301734b8c20652607823bb6dacb63afff8 /src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp | |
parent | 8922ae1ef4f0cb01c15632dfe19ed514e0d49dbe (diff) | |
download | qtlocation-cb424d26eac75a14316726b4687758fd10c85563.tar.gz |
Use QStringLiteral whereever possible
This replaces a lot of old QLatin1String cases
Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp b/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp index e032f8d3..caa752fb 100644 --- a/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp +++ b/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp @@ -102,7 +102,7 @@ bool QGeoRouteXmlParser::parseRootElement() if (m_reader->name() == QLatin1String("Error")) { QXmlStreamAttributes attributes = m_reader->attributes(); - if (attributes.value(QLatin1String("type")) == QLatin1String("ApplicationError") + if (attributes.value(QStringLiteral("type")) == QLatin1String("ApplicationError") && attributes.value("subtype") == QLatin1String("NoRouteFound")) return true; } |