ProjectExplorer: Make RunControl final

This makes later reasoning on what can (not) happen in the destructor
easier.

Change-Id: Icec12738e37c95d8d318d0d8fc2bc9b0b60e436d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2024-07-31 14:52:43 +02:00
parent 1865cd2e02
commit 10b17940c8

View File

@@ -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);