diff options
author | Cristian Adam <cristian.adam@nokia.com> | 2012-06-05 18:27:46 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-06 10:20:35 +0200 |
commit | acdf73a1c2585cb5009e1218f13830c60e1250f5 (patch) | |
tree | b0e1f99351c0b34eb73cbb93168f8eacb19ca8e9 /src/plugins/geoservices/nokia/qgeouriprovider.cpp | |
parent | 1465099ece7b562e5e4d38fc7d58aeb1f796c68b (diff) | |
download | qtlocation-acdf73a1c2585cb5009e1218f13830c60e1250f5.tar.gz |
Fix compilation on Windows using MinGW 4.6.2
QStringLiteral doesn't work on GCC outside functions nor
in template-arguments lists.
Change-Id: Ib59e3fc7e5233efb369f73703775057ceff8be54
Reviewed-by: Jean Gressmann <jean.gressmann@nokia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/qgeouriprovider.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/qgeouriprovider.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/geoservices/nokia/qgeouriprovider.cpp b/src/plugins/geoservices/nokia/qgeouriprovider.cpp index 6aa43f36..a3c25838 100644 --- a/src/plugins/geoservices/nokia/qgeouriprovider.cpp +++ b/src/plugins/geoservices/nokia/qgeouriprovider.cpp @@ -60,10 +60,10 @@ QT_BEGIN_NAMESPACE namespace { - const QString CHINA_MCC = QStringLiteral("460"); // China mobile country code - const QString CHINA2_MCC = QStringLiteral("461"); // China mobile country code - const QString HONG_KONG_MCC = QStringLiteral("454"); // Hong Kong mobile country code - const QString MACAU_MCC = QStringLiteral("455"); // Macau mobile country code + const QString CHINA_MCC = QLatin1String("460"); // China mobile country code + const QString CHINA2_MCC = QLatin1String("461"); // China mobile country code + const QString HONG_KONG_MCC = QLatin1String("454"); // Hong Kong mobile country code + const QString MACAU_MCC = QLatin1String("455"); // Macau mobile country code } QGeoUriProvider::QGeoUriProvider( |