Commit ee414262 authored by Fawzi Mohamed's avatar Fawzi Mohamed Committed by Fawzi Mohamed
Browse files

iostool: fix arguments passed to the subprocess



Change-Id: Ie7a1acfa2c958cd78b68aba1d8bbc2c482b44068
Task-number: QTBUG-42681
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@theqtcompany.com>
parent c6f17699
......@@ -563,7 +563,7 @@ void IosTool::run(const QStringList &args)
printHelp = true;
}
} else if (arg == QLatin1String("-extra-args")) {
extraArgs = args.mid(iarg, args.size() - iarg);
extraArgs = args.mid(iarg + 1, args.size() - iarg - 1);
iarg = args.size();
} else if (arg == QLatin1String("-help") || arg == QLatin1String("--help")) {
printHelp = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment