Fix several compiler warnings:

fix -Wunused-parameter
fix -Winconsistent-missing-override
fix -Wsometimes-uninitialized
This commit is contained in:
wmayer
2019-04-08 15:04:07 +02:00
parent 78965d27d6
commit 881b04a979
4 changed files with 23 additions and 21 deletions

View File

@@ -60,7 +60,9 @@ Gui::GUIApplicationNativeEventAware::~GUIApplicationNativeEventAware()
void Gui::GUIApplicationNativeEventAware::initSpaceball(QMainWindow *window)
{
#if defined(_USE_3DCONNEXION_SDK) || defined(SPNAV_FOUND)
nativeEvent->initSpaceball(window);
nativeEvent->initSpaceball(window);
#else
Q_UNUSED(window);
#endif
Spaceball::MotionEvent::MotionEventType = QEvent::registerEventType();
Spaceball::ButtonEvent::ButtonEventType = QEvent::registerEventType();