diff options
author | hjk <hjk@theqtcompany.com> | 2016-05-18 12:37:39 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-05-18 11:13:30 +0000 |
commit | bebdad0df1b04ecb0523adfa13142c521b5747af (patch) | |
tree | 3d8fb2440038f56bd8036ca5738703726919a4b8 /src/libs/utils/qtcprocess.cpp | |
parent | ac9360a2c1a22abde77d62fdebb5b79b1a749998 (diff) |
Utils: Adapt to QChar changes.
Less warnings.
Change-Id: I435abb1f39d179be10e4d0446b352f2ff7636437
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/utils/qtcprocess.cpp')
-rw-r--r-- | src/libs/utils/qtcprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/qtcprocess.cpp b/src/libs/utils/qtcprocess.cpp index 310707b4539..fe60c6cf550 100644 --- a/src/libs/utils/qtcprocess.cpp +++ b/src/libs/utils/qtcprocess.cpp @@ -447,8 +447,8 @@ static QStringList splitArgsUnix(const QString &args, bool abortOnMeta, } } for (int i = 0; i < val.length(); i++) { - QChar cc = val.unicode()[i]; - if (cc == 9 || cc == 10 || cc == 32) { + const QChar cc = val.unicode()[i]; + if (cc.unicode() == 9 || cc.unicode() == 10 || cc.unicode() == 32) { if (hadWord) { ret += cret; cret.clear(); |