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:
@@ -71,10 +71,10 @@ CallgrindToolRunner::CallgrindToolRunner(RunControl *runControl)
|
||||
triggerParse();
|
||||
});
|
||||
|
||||
m_controller.setValgrindRunnable(runnable());
|
||||
m_controller.setValgrindRunnable(runControl->runnable());
|
||||
|
||||
static int fileCount = 100;
|
||||
m_valgrindOutputFile = runnable().workingDirectory / QString("callgrind.out.f%1").arg(++fileCount);
|
||||
m_valgrindOutputFile = runControl->workingDirectory() / QString("callgrind.out.f%1").arg(++fileCount);
|
||||
m_controller.setValgrindOutputFile(m_valgrindOutputFile);
|
||||
|
||||
setupCallgrindRunner(this);
|
||||
|
||||
Reference in New Issue
Block a user