summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qsettings_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qsettings_win.cpp b/src/corelib/io/qsettings_win.cpp
index 6eb318006e3..7a4c1b5f02b 100644
--- a/src/corelib/io/qsettings_win.cpp
+++ b/src/corelib/io/qsettings_win.cpp
@@ -102,7 +102,7 @@ static QString escapedKey(QString uKey)
QChar *data = uKey.data();
int l = uKey.length();
for (int i = 0; i < l; ++i) {
- ushort &ucs = data[i].unicode();
+ auto &ucs = data[i].unicode();
if (ucs == '\\')
ucs = '/';
else if (ucs == '/')