summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-02-29 16:48:00 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-01 09:00:46 +0000
commit77a798298ffc8db5ecf6e40e8b371426fa025dcb (patch)
treed0870a94e307f8b2a38f405ec37eb324f8ccce71
parentaf3ab8ec0213a40d90f3d58a8a65a944b0cd753e (diff)
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 <rainer.keller@theqtcompany.com>
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 7b8b7be..854276e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -501,7 +501,7 @@ int main(int argc, char **argv)
QStringList allArgs;
allArgs << QLatin1String("perf") << QLatin1String("record")
<< perfParams << QLatin1String("-o") << QLatin1String("-")
- << QLatin1String("--") << defaultArgs.join(QLatin1Char(' '));
+ << QLatin1String("--") << defaultArgs;
PerfProcessHandler *server = new PerfProcessHandler(&process, allArgs);
int port = openServer(server->server(), range);