More changes to QLatin1String, QLatin1Char and QStringLiteral

This commit is contained in:
Kurt Hindenburg
2017-05-08 09:38:57 -04:00
parent b9c3cd6608
commit 48a8a40566
3 changed files with 15 additions and 15 deletions

View File

@@ -46,7 +46,7 @@ QString ShellCommand::fullCommand() const
if (arg[j].isSpace())
hasSpace = true;
if (hasSpace)
quotedArgs[i] = '\"' + arg + '\"';
quotedArgs[i] = QLatin1Char('\"') + arg + QLatin1Char('\"');
}
return quotedArgs.join(QLatin1Char(' '));
}