diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-02 15:45:18 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-03 10:44:56 +0000 |
commit | ccc4fe54e51dfd19cb266a7cae5f130f9c3929af (patch) | |
tree | 58c1701d4a5f07742b2f81688d1c2ad07af0cab4 /src/plugins/qmlprofiler/qmlprofilerclientmanager.h | |
parent | b85d8290a78d2c2e0ce34cf33a99b99c05bb88a0 (diff) |
QmlProfiler: Delete debug connection on error or if params change
Now that we don't recreate the debug connection anymore when (re)trying
to connect, we have to do it explicitly when changing the connection
parameters or when a connection attempt fails and we need to cancel the
"Connecting" state.
Change-Id: Ib2b6b4fb1e39e64fe3c9f2bf90b6e43043d05a9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index 6014e4607b..0cbf88dc56 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -33,6 +33,7 @@ #include "qmlprofilerstatemanager.h" #include <qmldebug/qmlprofilereventlocation.h> +#include <qmldebug/qmldebugclient.h> #include <QObject> #include <QStringList> @@ -71,6 +72,7 @@ private slots: void tryToConnect(); void qmlDebugConnectionOpened(); void qmlDebugConnectionClosed(); + void qmlDebugConnectionError(QDebugSupport::Error error); void logState(const QString &); void retryMessageBoxFinished(int result); |