aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-02-07 15:27:29 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-03-21 08:53:33 +0000
commitbc4455cda2ae395f2943cd9f18b6ae51a676399a (patch)
treec4d41f652761418506b59ad59d8568d7a8df467b /tests
parent895a511245ae3750ac41b352cdc6915c8f8dd110 (diff)
QQmlDebugProcess: Forward the process' finished() signal
Change-Id: If7c3bf5e0e679734911195f0f1fd1f408149a18e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/debugger/shared/qqmldebugprocess.cpp1
-rw-r--r--tests/auto/qml/debugger/shared/qqmldebugprocess_p.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/shared/qqmldebugprocess.cpp b/tests/auto/qml/debugger/shared/qqmldebugprocess.cpp
index 0ac8567956..0005477075 100644
--- a/tests/auto/qml/debugger/shared/qqmldebugprocess.cpp
+++ b/tests/auto/qml/debugger/shared/qqmldebugprocess.cpp
@@ -51,6 +51,7 @@ QQmlDebugProcess::QQmlDebugProcess(const QString &executable, QObject *parent)
this, [this]() {
m_timer.stop();
m_eventLoop.quit();
+ emit finished();
});
connect(&m_timer, &QTimer::timeout,
this, &QQmlDebugProcess::timeout);
diff --git a/tests/auto/qml/debugger/shared/qqmldebugprocess_p.h b/tests/auto/qml/debugger/shared/qqmldebugprocess_p.h
index 7aa63cde41..945cc58c85 100644
--- a/tests/auto/qml/debugger/shared/qqmldebugprocess_p.h
+++ b/tests/auto/qml/debugger/shared/qqmldebugprocess_p.h
@@ -70,6 +70,7 @@ public:
signals:
void readyReadStandardOutput();
+ void finished();
private slots:
void timeout();