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:
parent
fea5c0ac1a
commit
efcdb2dfdd
@ -27,7 +27,7 @@ namespace ESSImport
|
||||
|
||||
void load(ESM::ESMReader& esm) override;
|
||||
|
||||
virtual ~CellRef() = default;
|
||||
~CellRef() override = default;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ namespace Launcher
|
||||
|
||||
public:
|
||||
explicit MainDialog(QWidget *parent = nullptr);
|
||||
~MainDialog();
|
||||
~MainDialog() override;
|
||||
|
||||
FirstRunDialogResult showFirstRunDialog();
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
|
@ -20,7 +20,7 @@ namespace Wizard
|
||||
Q_OBJECT
|
||||
public:
|
||||
InstallationPage(QWidget *parent);
|
||||
~InstallationPage();
|
||||
~InstallationPage() override;
|
||||
|
||||
int nextId() const override;
|
||||
bool isComplete() const override;
|
||||
|
@ -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);
|
||||
|
@ -27,7 +27,7 @@ namespace Wizard
|
||||
|
||||
public:
|
||||
UnshieldWorker(QObject *parent = nullptr);
|
||||
~UnshieldWorker();
|
||||
~UnshieldWorker() override;
|
||||
|
||||
void stopWorker();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user