diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-14 16:36:32 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-30 09:08:49 +0000 |
commit | 7d8e29534d2bf86cdad8a7a7c4c8b84c60daa42c (patch) | |
tree | b70aaf67905d8e562519006dee1bc23f6e1bddce /src/qml/debugger/qqmlprofilerservice.cpp | |
parent | 6a00b4d4ead8efa75c312acaff897d96fe79a6d9 (diff) |
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 <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qqmlprofilerservice.cpp')
-rw-r--r-- | src/qml/debugger/qqmlprofilerservice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/debugger/qqmlprofilerservice.cpp b/src/qml/debugger/qqmlprofilerservice.cpp index 85556836e6..4a4f70b894 100644 --- a/src/qml/debugger/qqmlprofilerservice.cpp +++ b/src/qml/debugger/qqmlprofilerservice.cpp @@ -32,9 +32,9 @@ ****************************************************************************/ #include "qqmlprofilerservice_p.h" -#include "qqmldebugserver_p.h" #include "qv4profileradapter_p.h" #include "qqmlprofiler_p.h" +#include "qqmldebugconnector_p.h" #include <private/qqmlengine_p.h> #include <QtCore/qdatastream.h> @@ -54,8 +54,8 @@ QQmlProfilerService::QQmlProfilerService() QMutexLocker lock(configMutex()); // If there is no debug server it doesn't matter as we'll never get enabled anyway. - if (QQmlDebugServer::instance() != 0) - moveToThread(QQmlDebugServer::instance()->thread()); + if (QQmlDebugConnector::instance() != 0) + moveToThread(QQmlDebugConnector::instance()->thread()); } QQmlProfilerService::~QQmlProfilerService() |