1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00

Using override keyword in most apps

Detected by clang-tidy's modernize-use-override

Future MRs can be created to run this on OpenMW and OpenMW CS
This commit is contained in:
Thunderforge 2021-05-18 19:42:24 -05:00
parent fea5c0ac1a
commit efcdb2dfdd
7 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@ namespace ESSImport
void load(ESM::ESMReader& esm) override;
virtual ~CellRef() = default;
~CellRef() override = default;
};
}

View File

@ -47,7 +47,7 @@ namespace Launcher
public:
explicit MainDialog(QWidget *parent = nullptr);
~MainDialog();
~MainDialog() override;
FirstRunDialogResult showFirstRunDialog();

View File

@ -22,7 +22,7 @@ namespace Launcher
public:
SettingsPage(Files::ConfigurationManager &cfg, Config::GameSettings &gameSettings,
Config::LauncherSettings &launcherSettings, MainDialog *parent = nullptr);
~SettingsPage();
~SettingsPage() override;
void saveSettings();
bool loadSettings();

View File

@ -16,7 +16,7 @@ namespace Launcher
public:
explicit TextInputDialog(const QString& title, const QString &text, QWidget *parent = nullptr);
~TextInputDialog ();
~TextInputDialog () override;
inline LineEdit *lineEdit() { return mLineEdit; }
void setOkButtonEnabled(bool enabled);

View File

@ -20,7 +20,7 @@ namespace Wizard
Q_OBJECT
public:
InstallationPage(QWidget *parent);
~InstallationPage();
~InstallationPage() override;
int nextId() const override;
bool isComplete() const override;

View File

@ -40,7 +40,7 @@ namespace Wizard
};
MainWizard(QWidget *parent = nullptr);
~MainWizard();
~MainWizard() override;
bool findFiles(const QString &name, const QString &path);
void addInstallation(const QString &path);

View File

@ -27,7 +27,7 @@ namespace Wizard
public:
UnshieldWorker(QObject *parent = nullptr);
~UnshieldWorker();
~UnshieldWorker() override;
void stopWorker();