Merge branch 'modernize_use_override_for_most_apps' into 'master'

Using override keyword in most apps

See merge request OpenMW/openmw!886
pull/3094/head
Evil Eye 4 years ago
commit b2acb322af

@ -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…
Cancel
Save