diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2020-01-24 11:14:13 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2020-01-31 12:13:53 +0100 |
commit | 65fa7e795dd67250b8d95f13ebd9924069864866 (patch) | |
tree | a2910bc673864e3ba90676093fad29cd41d91670 /tests/auto/qml/debugger/shared | |
parent | 1c44804600ad3dbeb60d1f5209ce9cf937d30ab3 (diff) |
Tests: make ConnectResult a Q_ENUM to get nice error message
Change-Id: I0e22eb66109e61a5341388d37f5b596f4125ac99
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger/shared')
-rw-r--r-- | tests/auto/qml/debugger/shared/debugutil_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/debugger/shared/debugutil_p.h b/tests/auto/qml/debugger/shared/debugutil_p.h index 1c32590305..41a5663283 100644 --- a/tests/auto/qml/debugger/shared/debugutil_p.h +++ b/tests/auto/qml/debugger/shared/debugutil_p.h @@ -53,7 +53,6 @@ public: static QString clientStateString(const QQmlDebugClient *client); static QString connectionStateString(const QQmlDebugConnection *connection); -protected: enum ConnectResult { ConnectSuccess, ProcessFailed, @@ -64,6 +63,8 @@ protected: RestrictFailed }; + Q_ENUM(ConnectResult) +protected: ConnectResult connect(const QString &executable, const QString &services, const QString &extraArgs, bool block); |