forked from qt-creator/qt-creator
ProjectExplorer/Debugger/RL: Make run control state transitions more uniform
Forward all tool and target activities to run control, and initiate further state transitions (only) from there. Also, make sure tool/target's on finished() triggered on all finishing code paths. After that, the base state handling is sufficient to handle remote linux running and debugging. Change-Id: I0150ef249c9ad0b7b8ac7192be6dc860c9ca8fc5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -102,7 +102,7 @@ void ValgrindToolRunner::start()
|
||||
return;
|
||||
}
|
||||
|
||||
reportStarted();
|
||||
reportSuccess();
|
||||
}
|
||||
|
||||
void ValgrindToolRunner::stop()
|
||||
@@ -160,7 +160,7 @@ void ValgrindToolRunner::runnerFinished()
|
||||
disconnect(runner(), &ValgrindRunner::finished,
|
||||
this, &ValgrindToolRunner::runnerFinished);
|
||||
|
||||
reportStopped();
|
||||
reportSuccess();
|
||||
}
|
||||
|
||||
void ValgrindToolRunner::receiveProcessOutput(const QString &output, OutputFormat format)
|
||||
|
||||
Reference in New Issue
Block a user