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:
Denis Shienkov
2015-11-29 18:38:21 +03:00
parent b6e4e966f4
commit 6e2738af0e
17 changed files with 70 additions and 78 deletions

View File

@@ -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();