forked from qt-creator/qt-creator
ProjectExplorer: Split Target and ToolRunners into smaller tasks
This increases re-usability of activities like 'port gathering', and makes their use less dependent on actual device implementations. Change-Id: I017cb74874f2b38c487ba2d03906a675d5618647 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Valgrind {
|
||||
namespace Internal {
|
||||
|
||||
ValgrindToolRunner::ValgrindToolRunner(RunControl *runControl)
|
||||
: ToolRunner(runControl)
|
||||
: RunWorker(runControl)
|
||||
{
|
||||
runControl->setIcon(ProjectExplorer::Icons::ANALYZER_START_SMALL_TOOLBAR);
|
||||
runControl->setSupportsReRunning(false);
|
||||
@@ -102,7 +102,7 @@ void ValgrindToolRunner::start()
|
||||
return;
|
||||
}
|
||||
|
||||
reportSuccess();
|
||||
reportStarted();
|
||||
}
|
||||
|
||||
void ValgrindToolRunner::stop()
|
||||
@@ -160,7 +160,7 @@ void ValgrindToolRunner::runnerFinished()
|
||||
disconnect(runner(), &ValgrindRunner::finished,
|
||||
this, &ValgrindToolRunner::runnerFinished);
|
||||
|
||||
reportSuccess();
|
||||
reportStarted();
|
||||
}
|
||||
|
||||
void ValgrindToolRunner::receiveProcessOutput(const QString &output, OutputFormat format)
|
||||
|
||||
Reference in New Issue
Block a user