diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-06-02 15:56:46 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-06-03 08:44:52 +0000 |
commit | 7d5d0262448f8ed034d192a1f450c9fcfa3ea085 (patch) | |
tree | 9e6c0581d606751b22bc436aad21050da4a14359 | |
parent | c3a873b90689ea82c380d8b2712497ffa98e62b7 (diff) | |
download | qt-creator-7d5d0262448f8ed034d192a1f450c9fcfa3ea085.tar.gz |
QmlProfiler: Remove useless dtor
Signals will be disconnected by QObject dtor anyway.
Change-Id: I193fa207e02b8f91258d165f0a7eacb0ccc4b9df
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | src/plugins/qmlprofiler/localqmlprofilerrunner.cpp | 5 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/localqmlprofilerrunner.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp index 114e92ca0f..d7c7c1058e 100644 --- a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp +++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp @@ -81,11 +81,6 @@ LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuratio this, &LocalQmlProfilerRunner::stop); } -LocalQmlProfilerRunner::~LocalQmlProfilerRunner() -{ - disconnect(); -} - void LocalQmlProfilerRunner::start() { StandardRunnable runnable = m_configuration.debuggee; diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.h b/src/plugins/qmlprofiler/localqmlprofilerrunner.h index 4ad92b3e60..da5e50b6a4 100644 --- a/src/plugins/qmlprofiler/localqmlprofilerrunner.h +++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.h @@ -50,7 +50,6 @@ public: LocalQmlProfilerRunner(const Configuration &configuration, Debugger::AnalyzerRunControl *engine); - ~LocalQmlProfilerRunner(); static Utils::Port findFreePort(QString &host); static QString findFreeSocket(); |