mirror of
https://github.com/KDE/konsole.git
synced 2026-06-10 06:55:13 -04:00
Fix compile warning about QString::count()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user