mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-10-01 03:43:51 +08:00
UI: add missing override identifiers (#21081)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user