XCB: Fix warning about unhandled enumeration values.

Introduced by 438211ec62 .

Change-Id: Ia6765c2a49f13958c70f83ebf79fdaadfdd25ac9
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
This commit is contained in:
Friedemann Kleint 2013-06-28 08:55:25 +02:00 committed by The Qt Project
parent eb8216dd4a
commit ac720981d2

View File

@ -365,6 +365,8 @@ QVariant QXcbIntegration::styleHint(QPlatformIntegration::StyleHint hint) const
case QPlatformIntegration::SynthesizeMouseFromTouchEvents:
// We do not want Qt to synthesize mouse events if X11 already does it.
return m_connections.at(0)->hasTouchWithoutMouseEmulation();
default:
break;
}
return QPlatformIntegration::styleHint(hint);
}