UI: add missing override identifiers (#21081)

old-commit-hash: 3c058e0b646c7918650c7779928ea67fe1627c9b
This commit is contained in:
Maxime Desroches
2021-05-30 04:12:11 -04:00
committed by GitHub
parent 39e347a837
commit 88ae07b37b
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ public:
explicit SettingsWindow(QWidget *parent = 0) : QFrame(parent) {};
protected:
void hideEvent(QHideEvent *event);
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event) override;
void showEvent(QShowEvent *event) override;
signals:
void closeSettings();
+1 -1
View File
@@ -24,7 +24,7 @@ signals:
protected:
AbstractControl(const QString &title, const QString &desc = "", const QString &icon = "", QWidget *parent = nullptr);
void hideEvent(QHideEvent *e);
void hideEvent(QHideEvent *e) override;
QSize minimumSizeHint() const override {
QSize size = QFrame::minimumSizeHint();
+1 -1
View File
@@ -9,5 +9,5 @@ class ScrollView : public QScrollArea {
public:
explicit ScrollView(QWidget *w = nullptr, QWidget *parent = nullptr);
protected:
void hideEvent(QHideEvent *e);
void hideEvent(QHideEvent *e) override;
};
+1 -1
View File
@@ -16,7 +16,7 @@ public:
private:
QLabel* qrCode;
void updateQrCode(QString text);
void showEvent(QShowEvent *event);
void showEvent(QShowEvent *event) override;
private slots:
void refresh();