Add "override" to fix warning

Otherwise we get the following warning:

src/frontends/qt/InsertTableWidget.h:44:7: error: 'hideEvent' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        void hideEvent(QHideEvent * event);
             ^

Amends ca5a75b2.
This commit is contained in:
Scott Kostyshak 2023-06-19 14:46:05 -04:00
parent c5c03f9be3
commit f14384ff91

View File

@ -41,7 +41,7 @@ protected Q_SLOTS:
void mouseReleaseEvent(QMouseEvent *) override; void mouseReleaseEvent(QMouseEvent *) override;
void mousePressEvent(QMouseEvent *) override; void mousePressEvent(QMouseEvent *) override;
void paintEvent(QPaintEvent *) override; void paintEvent(QPaintEvent *) override;
void hideEvent(QHideEvent * event); void hideEvent(QHideEvent * event) override;
private: private:
//! update the geometry //! update the geometry