QdbDeviceInferiorRunner: Connect to done() signal

Instead of connecting to finished().

Change-Id: I714c980f558cda3b330e03bb83b30dc7328699a5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-06-20 18:07:25 +02:00
parent a4c0014b88
commit fc16aad2b4

View File

@@ -55,7 +55,7 @@ public:
setId("QdbDebuggeeRunner"); setId("QdbDebuggeeRunner");
connect(&m_launcher, &QtcProcess::started, this, &RunWorker::reportStarted); connect(&m_launcher, &QtcProcess::started, this, &RunWorker::reportStarted);
connect(&m_launcher, &QtcProcess::finished, this, &RunWorker::reportStopped); connect(&m_launcher, &QtcProcess::done, this, &RunWorker::reportStopped);
connect(&m_launcher, &QtcProcess::readyReadStandardOutput, [this] { connect(&m_launcher, &QtcProcess::readyReadStandardOutput, [this] {
appendMessage(QString::fromUtf8(m_launcher.readAllStandardOutput()), StdOutFormat); appendMessage(QString::fromUtf8(m_launcher.readAllStandardOutput()), StdOutFormat);