forked from qt-creator/qt-creator
BareMetal: Do not use QPointer if it is not required
Change-Id: Ib7162ae6b40d06bfb54705fd4b53bde2ce78083c Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Tim Sander <tim@krieglstein.org> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -159,17 +159,17 @@ void BareMetalDebugSupport::startExecution()
|
||||
m_state = StartingRunner;
|
||||
showMessage(tr("Starting GDB server...") + QLatin1Char('\n'), Debugger::LogStatus);
|
||||
|
||||
connect(m_appRunner.data(), &ProjectExplorer::DeviceApplicationRunner::remoteStderr,
|
||||
connect(m_appRunner, &ProjectExplorer::DeviceApplicationRunner::remoteStderr,
|
||||
this, &BareMetalDebugSupport::remoteErrorOutputMessage);
|
||||
connect(m_appRunner.data(), &ProjectExplorer::DeviceApplicationRunner::remoteStdout,
|
||||
connect(m_appRunner, &ProjectExplorer::DeviceApplicationRunner::remoteStdout,
|
||||
this, &BareMetalDebugSupport::remoteOutputMessage);
|
||||
connect(m_appRunner.data(), &ProjectExplorer::DeviceApplicationRunner::remoteProcessStarted,
|
||||
connect(m_appRunner, &ProjectExplorer::DeviceApplicationRunner::remoteProcessStarted,
|
||||
this, &BareMetalDebugSupport::remoteProcessStarted);
|
||||
connect(m_appRunner.data(), &ProjectExplorer::DeviceApplicationRunner::finished,
|
||||
connect(m_appRunner, &ProjectExplorer::DeviceApplicationRunner::finished,
|
||||
this, &BareMetalDebugSupport::appRunnerFinished);
|
||||
connect(m_appRunner.data(), &ProjectExplorer::DeviceApplicationRunner::reportProgress,
|
||||
connect(m_appRunner, &ProjectExplorer::DeviceApplicationRunner::reportProgress,
|
||||
this, &BareMetalDebugSupport::progressReport);
|
||||
connect(m_appRunner.data(), &ProjectExplorer::DeviceApplicationRunner::reportError,
|
||||
connect(m_appRunner, &ProjectExplorer::DeviceApplicationRunner::reportError,
|
||||
this, &BareMetalDebugSupport::appRunnerError);
|
||||
|
||||
const QString cmd = p->executable();
|
||||
|
||||
Reference in New Issue
Block a user