forked from qt-creator/qt-creator
centralize setting of AdapterStarted state
This commit is contained in:
@@ -1563,7 +1563,6 @@ void TrkGdbAdapter::maybeAdapterStarted()
|
||||
{
|
||||
QTC_ASSERT(state() == AdapterStarting, qDebug() << state());
|
||||
if (m_gdbProc.state() == QProcess::Running && m_trkDevice.isOpen()) {
|
||||
setState(AdapterStarted);
|
||||
emit adapterStarted();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user