From 895a511245ae3750ac41b352cdc6915c8f8dd110 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 5 Feb 2018 14:15:47 +0100 Subject: QQmlDebugClient: Make stateChanged a signal This way we can observe it from the outside and drop all the code that genrated extra signals from the virtual method. Also drop the unused QQmlDebugTestService::stateHasChanged signal to reduce the confusion. Change-Id: Ia37c1eaf8b392e594b0931694f43f84fe09b000c Reviewed-by: Simon Hausmann --- tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp') diff --git a/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp b/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp index 4dce07d824..896ed608fd 100644 --- a/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp +++ b/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp @@ -48,5 +48,4 @@ void QQmlDebugTestService::stateAboutToBeChanged(QQmlDebugService::State) void QQmlDebugTestService::stateChanged(State) { Q_ASSERT(QThread::currentThread() != thread()); - emit stateHasChanged(); } -- cgit v1.2.3