Fix -Winconsistent-missing-override

Fix the following warning:

src/frontends/qt/GuiDocument.h:377:7: error: 'eventFilter' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        bool eventFilter(QObject * sender, QEvent * event);
             ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:139:18: note: overridden virtual function is here
    virtual bool eventFilter(QObject *watched, QEvent *event);
                 ^

Amends 62413580de.
This commit is contained in:
Scott Kostyshak 2023-01-25 10:56:40 -05:00
parent 62413580de
commit 2ccaefa8a1

View File

@ -374,7 +374,7 @@ Q_SIGNALS:
void changed();
protected:
bool eventFilter(QObject * sender, QEvent * event);
bool eventFilter(QObject * sender, QEvent * event) override;
private:
void closeEvent(QCloseEvent *) override;