]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiApplication.h
Amend f441590c
[lyx.git] / src / frontends / qt4 / GuiApplication.h
index bfc242ccde8713ebd0d314f9c64fdd4699084d23..350adc871893f885bff413caa9bd651ccaf9fd73 100644 (file)
@@ -62,7 +62,7 @@ public:
 
        /// \name Methods inherited from Application class
        //@{
-       void dispatch(FuncRequest const &);
+       DispatchResult const & dispatch(FuncRequest const &);
        void dispatch(FuncRequest const &, DispatchResult & dr);
        FuncStatus getStatus(FuncRequest const & cmd) const;
        void restoreGuiSession();
@@ -108,7 +108,8 @@ public:
 #ifdef Q_WS_X11
        bool x11EventFilter(XEvent * ev);
 #elif defined(QPA_XCB)
-       virtual bool nativeEventFilter(const QByteArray & eventType, void * message, long * result);
+       virtual bool nativeEventFilter(const QByteArray & eventType, void * message,
+                                      long * result) Q_DECL_OVERRIDE;
 #endif
        //@}