forked from qt-creator/qt-creator
Utils: Adapt to QChar changes.
Less warnings. Change-Id: I435abb1f39d179be10e4d0446b352f2ff7636437 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user