Fix compile warning about QString::count()

This commit is contained in:
Laurent Montel
2023-07-12 08:56:16 +02:00
parent 6013afa68c
commit 125b81654f
9 changed files with 15 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ QString ShellCommand::fullCommand() const
for (int i = 0; i < quotedArgs.count(); i++) {
QString arg = quotedArgs.at(i);
bool hasSpace = false;
for (int j = 0; j < arg.count(); j++) {
for (int j = 0; j < arg.length(); j++) {
if (arg[j].isSpace()) {
hasSpace = true;
}