Fix method overriding

This commit is contained in:
Luis Ángel San Martín
2021-12-26 20:22:35 +01:00
parent 868c6aa269
commit 62464a450c
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ public:
// TODO: this non-const member function hides rather than overrides
// QWidget::sizeHint(). But the function cannot be simply removed as it is used
// in our constructor. Will have to investigate and decide how to fix this.
QSize sizeHint();
QSize sizeHint() const override;
void paintEvent(QPaintEvent *event) override;
public slots: