]> git.lyx.org Git - features.git/commit
Fix -Winconsistent-missing-override
authorScott Kostyshak <skostysh@lyx.org>
Wed, 25 Jan 2023 15:56:40 +0000 (10:56 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 25 Jan 2023 15:56:40 +0000 (10:56 -0500)
commit2ccaefa8a121e8ae921420cef1c886a57271fb67
tree760aa9657ba7b2895694a5a7858c1def112dba45
parent62413580dee8a4ff325da8d28419b60a95cadd71
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 62413580dee8a4ff325da8d28419b60a95cadd71.
src/frontends/qt/GuiDocument.h