Skip to content

Commit 77a7982

Browse files
committed
Don't join application arguments when running in perf mode
... otherwise we get "command not found". Change-Id: I9f471d8b7021df83f0c09c3f06addb977f17353c Task-number: QCE-67 Reviewed-by: Rainer Keller <[email protected]>
1 parent af3ab8e commit 77a7982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ int main(int argc, char **argv)
501501
QStringList allArgs;
502502
allArgs << QLatin1String("perf") << QLatin1String("record")
503503
<< perfParams << QLatin1String("-o") << QLatin1String("-")
504-
<< QLatin1String("--") << defaultArgs.join(QLatin1Char(' '));
504+
<< QLatin1String("--") << defaultArgs;
505505

506506
PerfProcessHandler *server = new PerfProcessHandler(&process, allArgs);
507507
int port = openServer(server->server(), range);

0 commit comments

Comments
 (0)