From ccc4fe54e51dfd19cb266a7cae5f130f9c3929af Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 2 Nov 2015 15:45:18 +0100 Subject: 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 --- src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h') 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 +#include #include #include @@ -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); -- cgit v1.2.1