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:
parent
eb8216dd4a
commit
ac720981d2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user