From 86df253842beda445b76874d2a87d5c1f89113bc Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 17 Sep 2018 16:41:14 +0200 Subject: [PATCH] Qt5: fix build failure if spacenav is not used under Linux --- src/Gui/GuiApplicationNativeEventAware.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/GuiApplicationNativeEventAware.cpp b/src/Gui/GuiApplicationNativeEventAware.cpp index 8fba19d579..b30f4477bf 100644 --- a/src/Gui/GuiApplicationNativeEventAware.cpp +++ b/src/Gui/GuiApplicationNativeEventAware.cpp @@ -474,7 +474,7 @@ bool Gui::GUIApplicationNativeEventAware::xcbEventFilter(const xcb_client_messag } // end switch (navEvent.type) { #else - Q_UNUSED(message); + Q_UNUSED(xcb_ev); return false; #endif // if/else defined(SPNAV_FOUND) } @@ -610,7 +610,7 @@ bool Gui::GUIApplicationNativeEventAware::x11EventFilter(XEvent *event) Base::Console().Log("Unknown spaceball event\n"); return true; #else - Q_UNUSED(event); + Q_UNUSED(event); return false; #endif // SPNAV_FOUND }