diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-14 14:45:50 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-08-04 13:34:26 +0000 |
commit | 2c0ed9491e55bdc96bc2deb5ec3c40df6e3271f6 (patch) | |
tree | 029e73dddfb3202acbc2ce862fb68b8ff85146ae /src/qml/qml/v8/qqmlbuiltinfunctions.cpp | |
parent | 4e6de08ba154e541587b2939137a3da1081750be (diff) |
Extract minimal abstract interfaces from debug services.
We will access the services' functionality through those interfaces
once they live in their own plugins.
Change-Id: I0a0d7e73c07cb874b3b507cc4a9d304588c87bca
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/v8/qqmlbuiltinfunctions.cpp')
-rw-r--r-- | src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp index f2918bb232..4f750bb31b 100644 --- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp +++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp @@ -1451,7 +1451,7 @@ QV4::ReturnedValue ConsoleObject::method_profile(CallContext *ctx) if (!QQmlDebugConnector::instance()) { logger.warning("Cannot start profiling because debug service is disabled. Start with -qmljsdebugger=port:XXXXX."); } else { - QQmlProfilerService::instance()->startProfiling(v4->qmlEngine()); + QQmlProfilerServiceImpl::instance()->startProfiling(v4->qmlEngine()); logger.debug("Profiling started."); } @@ -1470,7 +1470,7 @@ QV4::ReturnedValue ConsoleObject::method_profileEnd(CallContext *ctx) if (!QQmlDebugConnector::instance()) { logger.warning("Ignoring console.profileEnd(): the debug service is disabled."); } else { - QQmlProfilerService::instance()->stopProfiling(v4->qmlEngine()); + QQmlProfilerServiceImpl::instance()->stopProfiling(v4->qmlEngine()); logger.debug("Profiling ended."); } |