From 7d8e29534d2bf86cdad8a7a7c4c8b84c60daa42c Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 14 Jul 2015 16:36:32 +0200 Subject: Extract minimal interface from QQmlDebugServer and use it. This will allow us to move QQmlDebugServer into a plugin. The new QQmlDebugServer is the interface exposed to connection plugins. The interface exposed to services is renamed to QQmlDebugConnector, as technically it doesn't have to be a "server". Change-Id: Id508b8c0a6960228e889f45a437b73060392db39 Reviewed-by: Simon Hausmann --- src/quick/qtquick2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick/qtquick2.cpp') diff --git a/src/quick/qtquick2.cpp b/src/quick/qtquick2.cpp index e4937e2bf6..3e7811e114 100644 --- a/src/quick/qtquick2.cpp +++ b/src/quick/qtquick2.cpp @@ -39,7 +39,7 @@ #include #include -#include +#include #include #include #include @@ -187,7 +187,7 @@ void QQmlQtQuick2Module::defineModule() QAccessible::installFactory(&qQuickAccessibleFactory); #endif - if (QQmlDebugServer::instance()) { + if (QQmlDebugConnector::instance()) { QQmlEngineDebugService::instance()->setStatesDelegate( new QQmlQtQuick2DebugStatesDelegate); QQuickProfiler::initialize(); -- cgit v1.2.3