Skip to content

Commit

Permalink
Add missing override.
Browse files Browse the repository at this point in the history
  • Loading branch information
knarfS committed May 3, 2020
1 parent 266ede4 commit 4b5f367
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ui/widgets/clickablelabel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ClickableLabel : public QLabel
~ClickableLabel();

protected:
void mousePressEvent(QMouseEvent* event);
void mousePressEvent(QMouseEvent* event) override;

Q_SIGNALS:
void clicked();
Expand Down
2 changes: 1 addition & 1 deletion src/ui/widgets/colorbutton.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ColorButton : public QPushButton
QColor color_;

private:
void paintEvent(QPaintEvent *event);
void paintEvent(QPaintEvent *event) override;

public Q_SLOTS:
void change_color();
Expand Down
2 changes: 1 addition & 1 deletion src/ui/widgets/plot/axispopup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class AxisPopup : public widgets::Popup
QDialogButtonBox *button_box_;

void setup_ui();
void showEvent(QShowEvent *event);
void showEvent(QShowEvent *event) override;

private Q_SLOTS:
void on_accept();
Expand Down

0 comments on commit 4b5f367

Please sign in to comment.