mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +08:00
Use override for destructors
This commit is contained in:
@@ -40,7 +40,7 @@ namespace BlackGui
|
||||
explicit CAircraftIcaoForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CAircraftIcaoForm();
|
||||
virtual ~CAircraftIcaoForm() override;
|
||||
|
||||
//! Get value
|
||||
BlackMisc::Aviation::CAircraftIcaoCode getValue() const;
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace BlackGui
|
||||
explicit CAircraftPartsForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CAircraftPartsForm();
|
||||
virtual ~CAircraftPartsForm() override;
|
||||
|
||||
//! \name Form class implementations
|
||||
//! @{
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BlackGui
|
||||
explicit CPilotForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CPilotForm();
|
||||
virtual ~CPilotForm() override;
|
||||
|
||||
//! Set VATSIM validation mode
|
||||
void setVatsimValidation(bool vatsim);
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace BlackGui
|
||||
explicit CServerForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CServerForm();
|
||||
virtual ~CServerForm() override;
|
||||
|
||||
//! Set server
|
||||
void setServer(const BlackMisc::Network::CServer &server);
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
explicit CSituationForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CSituationForm();
|
||||
virtual ~CSituationForm() override;
|
||||
|
||||
//! Set the situation
|
||||
void setSituation(const BlackMisc::Aviation::CAircraftSituation &situation);
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace BlackGui
|
||||
explicit CValidationIndicator(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CValidationIndicator();
|
||||
~CValidationIndicator() override;
|
||||
|
||||
//! Validation passed
|
||||
void passed();
|
||||
|
||||
Reference in New Issue
Block a user