summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpprefactoringengine.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2021-08-30 16:29:08 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2021-08-31 12:09:36 +0000
commit15c183fce614826db6e313086dccb0115a08bf66 (patch)
treec25c6444402eff2f694264aee9b1121c9193728f /src/plugins/cpptools/cpprefactoringengine.cpp
parent73874980efe0be383ee3db10fcaef503fa4148ba (diff)
downloadqt-creator-15c183fce614826db6e313086dccb0115a08bf66.tar.gz
Set process state to NotRunning after FailedToStart error
Remove the process in process launcher after error has appeared. Remove unneeded stopStopProcedure as we are disconnecting from process' signals inside removeProcess(). In order to behave as much similar to what QProcess does, provide a test that: - ensures the FailedToStart error is synchronously emitted when waitForStarted is being executed - ensures that process state is reset to NotRunning after FailedToStart error - 2nd call to start/waitForStarted doesn't block on waitForStarted Change-Id: I139354421d037739f1cc1a2685b66f1e5b6170c8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringengine.cpp')
0 files changed, 0 insertions, 0 deletions