Debugger: Remove unused QmlEngine::startupMessageFilterConnection

Change-Id: Ifeda7c4956d6abdfc06f602d4e3011a6056e3186
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
hjk
2019-08-19 11:37:27 +02:00
parent ecc698a416
commit 4307758e4b

View File

@@ -233,7 +233,6 @@ public:
QmlDebug::QDebugMessageClient *msgClient = nullptr; QmlDebug::QDebugMessageClient *msgClient = nullptr;
QHash<int, QmlCallback> callbackForToken; QHash<int, QmlCallback> callbackForToken;
QMetaObject::Connection startupMessageFilterConnection;
private: private:
ConsoleItem *constructLogItemTree(const QmlV8ObjectData &objectData, QList<int> &seenHandles); ConsoleItem *constructLogItemTree(const QmlV8ObjectData &objectData, QList<int> &seenHandles);
@@ -310,7 +309,6 @@ QmlEngine::QmlEngine()
QmlEngine::~QmlEngine() QmlEngine::~QmlEngine()
{ {
QObject::disconnect(d->startupMessageFilterConnection);
delete d; delete d;
} }
@@ -365,7 +363,6 @@ void QmlEngine::beginConnection()
QTC_ASSERT(state() == EngineRunRequested, return); QTC_ASSERT(state() == EngineRunRequested, return);
QObject::disconnect(d->startupMessageFilterConnection);
QString host = runParameters().qmlServer.host(); QString host = runParameters().qmlServer.host();
// Use localhost as default // Use localhost as default