forked from qt-creator/qt-creator
ProjectExplorer: Remove RunWorker::runnable()
A convienience function that leads to an interface that's "too stiff". Change-Id: Ide2e5fd991707d08690e7e384e9048a30e0828f4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -140,12 +140,10 @@ public:
|
||||
reportStopped();
|
||||
});
|
||||
|
||||
Runnable perfRunnable = runnable();
|
||||
|
||||
CommandLine cmd({device()->filePath("perf"), {"record"}});
|
||||
cmd.addArgs(m_perfRecordArguments);
|
||||
cmd.addArgs({"-o", "-", "--"});
|
||||
cmd.addCommandLineAsArgs(perfRunnable.command, CommandLine::Raw);
|
||||
cmd.addCommandLineAsArgs(runControl()->commandLine(), CommandLine::Raw);
|
||||
|
||||
m_process->setCommand(cmd);
|
||||
m_process->start();
|
||||
|
||||
Reference in New Issue
Block a user