+ issue #0001970: Spaceball 5000 USB no longer works in Windows 7 in 0.15 dev versions

This commit is contained in:
wmayer 2015-02-21 18:46:06 +01:00
parent 153e988237
commit f2d8fc91ec

View File

@ -100,8 +100,9 @@ void Gui::GUIApplicationNativeEventAware::initSpaceball(QMainWindow *window)
bool Gui::GUIApplicationNativeEventAware::processSpaceballEvent(QObject *object, QEvent *event)
{
if (!activeWindow())
return true;
// Maybe this causes the regression reported in #0001970. So to test it it will be commented out for now
//if (!activeWindow())
// return true;
QApplication::notify(object, event);
if (event->type() == Spaceball::MotionEvent::MotionEventType)