From 7d5d0262448f8ed034d192a1f450c9fcfa3ea085 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 2 Jun 2016 15:56:46 +0200 Subject: [PATCH] QmlProfiler: Remove useless dtor Signals will be disconnected by QObject dtor anyway. Change-Id: I193fa207e02b8f91258d165f0a7eacb0ccc4b9df Reviewed-by: Joerg Bornemann --- src/plugins/qmlprofiler/localqmlprofilerrunner.cpp | 5 ----- src/plugins/qmlprofiler/localqmlprofilerrunner.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp index 114e92ca0f0..d7c7c1058ec 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 4ad92b3e609..da5e50b6a43 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();