forked from qt-creator/qt-creator
ProjectExplorer: Extend centralized state handling
Add some customization hooks to make tools aware of target errors and vice versa. Change-Id: I4d815087297a3fa1d1d6d52daeed7c4ae0f624bf Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -337,6 +337,7 @@ QmlEngine::QmlEngine(const DebuggerRunParameters &startParameters, DebuggerEngin
|
||||
|
||||
QmlEngine::~QmlEngine()
|
||||
{
|
||||
QObject::disconnect(d->startupMessageFilterConnection);
|
||||
QSet<IDocument *> documentsToClose;
|
||||
|
||||
QHash<QString, QWeakPointer<BaseTextEditor> >::iterator iter;
|
||||
@@ -420,6 +421,8 @@ void QmlEngine::beginConnection(Utils::Port port)
|
||||
|
||||
QTC_ASSERT(state() == EngineRunRequested, return);
|
||||
|
||||
QObject::disconnect(d->startupMessageFilterConnection);
|
||||
|
||||
QString host = runParameters().qmlServer.host;
|
||||
// Use localhost as default
|
||||
if (host.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user