diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2016-10-25 10:07:57 +0200 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2016-10-31 07:56:54 +0000 |
commit | 108293b6bb0db1d79676cc74fc4857db011c2d6c (patch) | |
tree | 7d7c6f6534a66f2ce9aabcd7ab4154ba80ea7d25 | |
parent | 9b4b720346c9a18f9df0a282c12c683e6f0dc703 (diff) |
Fix deprecated QString warning
Change-Id: I598777feeb23d0e6462c5825c7ae7793afa2dc6a
Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r-- | src/localesettings/systemlocale_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localesettings/systemlocale_p.h b/src/localesettings/systemlocale_p.h index f5caed9..761c5cd 100644 --- a/src/localesettings/systemlocale_p.h +++ b/src/localesettings/systemlocale_p.h @@ -64,7 +64,7 @@ public: QStringList newLocale; QMap<QString, QString>::iterator i; for (i = m_localeCache.begin(); i != m_localeCache.end(); ++i) { - QString val = i.key() + "=" + i.value(); + QString val = i.key() + QLatin1String("=") + i.value(); newLocale.append(val); } m_localeInterface->SetLocale(newLocale, true); |