Gui: [skip ci] make log messages distinguishable to see if X11 or polling API if spacenav is used

This commit is contained in:
wmayer
2020-03-22 12:55:52 +01:00
parent e25cdd2d04
commit 751873ff16

View File

@@ -73,9 +73,9 @@ void Gui::GuiNativeEvent::initSpaceball(QMainWindow *window)
}
#endif
if (spnav_x11_open(QX11Info::display(), window->winId()) == -1) {
Base::Console().Log("Couldn't connect to spacenav daemon\n");
Base::Console().Log("Couldn't connect to spacenav daemon on X11\n");
} else {
Base::Console().Log("Connected to spacenav daemon\n");
Base::Console().Log("Connected to spacenav daemon on X11\n");
mainApp->setSpaceballPresent(true);
#if QT_VERSION >= 0x050000