forked from qt-creator/qt-creator
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:
@@ -137,13 +137,13 @@ private:
|
|||||||
* RunControls are created by RunControlFactories.
|
* RunControls are created by RunControlFactories.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class PROJECTEXPLORER_EXPORT RunControl : public QObject
|
class PROJECTEXPLORER_EXPORT RunControl final : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit RunControl(Utils::Id mode);
|
explicit RunControl(Utils::Id mode);
|
||||||
~RunControl() override;
|
~RunControl() final;
|
||||||
|
|
||||||
void setTarget(Target *target);
|
void setTarget(Target *target);
|
||||||
void setKit(Kit *kit);
|
void setKit(Kit *kit);
|
||||||
|
Reference in New Issue
Block a user