summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-09 06:10:08 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-09-09 06:10:08 (GMT)
commitfe24f53eae3c5e5f67d0d3cd42637772cd27ce2a (patch)
tree000ea84a0a54241e41d44f436f4f66b011482a2e /src/corelib/tools
parent5a4d3eec863e10d45edb76659c06729efdea4d9d (diff)
downloadQt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.zip
Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.tar.gz
Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.tar.bz2
Fixed 'use of function is deprecated' warnings reported by RVCT
Task-number: 241223 Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qlocale_symbian.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale_symbian.cpp b/src/corelib/tools/qlocale_symbian.cpp
index 6b9e271..71f4e44 100644
--- a/src/corelib/tools/qlocale_symbian.cpp
+++ b/src/corelib/tools/qlocale_symbian.cpp
@@ -797,7 +797,7 @@ QLocale QSystemLocale::fallbackLocale() const
}
TLanguage lang = User::Language();
- QString locale = qt_symbianLocaleName(lang);
+ QString locale = QLatin1String(qt_symbianLocaleName(lang));
return QLocale(locale);
}
@@ -853,7 +853,7 @@ QVariant QSystemLocale::query(QueryType type, QVariant in = QVariant()) const
case LanguageId:
case CountryId: {
TLanguage language = User::Language();
- QString locale = qt_symbianLocaleName(language);
+ QString locale = QLatin1String(qt_symbianLocaleName(language));
QLocale::Language lang;
QLocale::Country cntry;
getLangAndCountry(locale, lang, cntry);