forked from qt-creator/qt-creator
QML Debugger: fix the fact that the qmlobserver would only run once.
This commit is contained in:
@@ -126,9 +126,7 @@ void QmlEngine::shutdownInferior()
|
||||
void QmlEngine::shutdownEngine()
|
||||
{
|
||||
QTC_ASSERT(state() == EngineShutdownRequested, qDebug() << state());
|
||||
//m_objectTreeWidget->saveSettings(m_settings);
|
||||
//m_propertiesWidget->saveSettings(m_settings);
|
||||
//m_settings.saveSettings(Core::ICore::instance()->settings());
|
||||
notifyEngineShutdownOk();
|
||||
}
|
||||
|
||||
const int serverPort = 3768;
|
||||
@@ -138,7 +136,6 @@ void QmlEngine::setupEngine()
|
||||
notifyEngineSetupOk();
|
||||
}
|
||||
|
||||
|
||||
void QmlEngine::continueInferior()
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorStopOk, qDebug() << state());
|
||||
@@ -518,6 +515,12 @@ void QmlEngine::messageReceived(const QByteArray &message)
|
||||
|
||||
}
|
||||
|
||||
void QmlEngine::disconnected()
|
||||
{
|
||||
notifyInferiorExited();
|
||||
}
|
||||
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user