mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
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:
parent
c5c03f9be3
commit
f14384ff91
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user