mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix compilation with qt5 and c++11 combined.
This commit is contained in:
parent
f921c2e8ec
commit
d88e401589
@ -3085,7 +3085,7 @@ bool GuiApplication::x11EventFilter(XEvent * xev)
|
||||
}
|
||||
#elif defined(QPA_XCB)
|
||||
bool GuiApplication::nativeEventFilter(const QByteArray & eventType,
|
||||
void * message, long *) Q_DECL_OVERRIDE
|
||||
void * message, long *)
|
||||
{
|
||||
if (!current_view_ || eventType != "xcb_generic_event_t")
|
||||
return false;
|
||||
|
@ -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
|
||||
//@}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user