diff --git a/src/plugins/boot2qt/qdbdevicedebugsupport.cpp b/src/plugins/boot2qt/qdbdevicedebugsupport.cpp index d3983be57dd..065dd8176e8 100644 --- a/src/plugins/boot2qt/qdbdevicedebugsupport.cpp +++ b/src/plugins/boot2qt/qdbdevicedebugsupport.cpp @@ -35,10 +35,10 @@ public: connect(&m_launcher, &QtcProcess::started, this, &RunWorker::reportStarted); connect(&m_launcher, &QtcProcess::done, this, &RunWorker::reportStopped); - connect(&m_launcher, &QtcProcess::readyReadStandardOutput, [this] { + connect(&m_launcher, &QtcProcess::readyReadStandardOutput, this, [this] { appendMessage(QString::fromUtf8(m_launcher.readAllStandardOutput()), StdOutFormat); }); - connect(&m_launcher, &QtcProcess::readyReadStandardError, [this] { + connect(&m_launcher, &QtcProcess::readyReadStandardError, this, [this] { appendMessage(QString::fromUtf8(m_launcher.readAllStandardError()), StdErrFormat); }); diff --git a/src/plugins/qnx/qnxqtversion.cpp b/src/plugins/qnx/qnxqtversion.cpp index d68c667a792..7ddad7c1bb6 100644 --- a/src/plugins/qnx/qnxqtversion.cpp +++ b/src/plugins/qnx/qnxqtversion.cpp @@ -46,7 +46,7 @@ public: sdpPathChooser->setHistoryCompleter("Qnx.Sdp.History"); sdpPathChooser->setFilePath(version->sdpPath()); - connect(sdpPathChooser, &PathChooser::rawPathChanged, [this, version, sdpPathChooser] { + connect(sdpPathChooser, &PathChooser::rawPathChanged, this, [this, version, sdpPathChooser] { version->setSdpPath(sdpPathChooser->filePath()); emit changed(); });