From 10b17940c826c90db483b2732c5e37ced33a2965 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 31 Jul 2024 14:52:43 +0200 Subject: [PATCH] ProjectExplorer: Make RunControl final This makes later reasoning on what can (not) happen in the destructor easier. Change-Id: Icec12738e37c95d8d318d0d8fc2bc9b0b60e436d Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/runcontrol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h index b99439869ac..efb3abf44b8 100644 --- a/src/plugins/projectexplorer/runcontrol.h +++ b/src/plugins/projectexplorer/runcontrol.h @@ -137,13 +137,13 @@ private: * RunControls are created by RunControlFactories. */ -class PROJECTEXPLORER_EXPORT RunControl : public QObject +class PROJECTEXPLORER_EXPORT RunControl final : public QObject { Q_OBJECT public: explicit RunControl(Utils::Id mode); - ~RunControl() override; + ~RunControl() final; void setTarget(Target *target); void setKit(Kit *kit);