add override specifier to tab subclasses (#5445)

This commit is contained in:
RickyRister 2025-01-11 18:28:02 -08:00 committed by GitHub
parent 2b296badea
commit 2851d0c7e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 43 additions and 43 deletions

View file

@ -22,7 +22,7 @@ private:
QSpinBox *minutesEdit;
public:
ShutdownDialog(QWidget *parent = nullptr);
explicit ShutdownDialog(QWidget *parent = nullptr);
QString getReason() const;
int getMinutes() const;
};
@ -55,8 +55,8 @@ private slots:
public:
TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, bool _fullAdmin, QWidget *parent = nullptr);
void retranslateUi();
QString getTabText() const
void retranslateUi() override;
QString getTabText() const override
{
return tr("Administration");
}