diff --git a/src/input/Mouse6dofInput.cpp b/src/input/Mouse6dofInput.cpp index 1e121781423480a6ec1ef71cc20d94bdacf63add..cadf98b7332505fbdaee80f10de9f1b33f996385 100644 --- a/src/input/Mouse6dofInput.cpp +++ b/src/input/Mouse6dofInput.cpp @@ -237,7 +237,7 @@ void Mouse6dofInput::button3DMouseDown(int button) case 2: { translationActive = !translationActive; - emit mouseTranslationEnabledChanged(translationActive); + emit mouseTranslationActiveChanged(translationActive); qDebug() << "Changed 3DMouse Translation to" << (bool)translationActive; break; } diff --git a/src/ui/MainWindow.h b/src/ui/MainWindow.h index 387ea2491b58d370ec053f2f9f80b62fefc99b5e..8b71dbf8413c5c11d78255fbe614e47fa201099c 100644 --- a/src/ui/MainWindow.h +++ b/src/ui/MainWindow.h @@ -235,8 +235,10 @@ public slots: signals: void initStatusChanged(const QString& message); +#ifdef MOUSE_ENABLED_LINUX /** @brief Forward X11Event to catch 3DMouse inputs */ void x11EventOccured(XEvent *event); +#endif //MOUSE_ENABLED_LINUX public: QGCMAVLinkLogPlayer* getLogPlayer()