[wayland] Drop Qt version check from WaylandServer::fakeDummyQtWindowInput

No longer needed as we install keymaps which prevents the crash in
QtWayland this version check worked around.
This commit is contained in:
Martin Gräßlin 2015-05-28 10:25:11 +02:00
parent 3b4c508ee3
commit 1420bb38a9

View file

@ -238,7 +238,6 @@ void WaylandServer::createDummyQtWindow()
void WaylandServer::fakeDummyQtWindowInput()
{
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
// we need to fake Qt into believing it has got any seat events
// this is done only when receiving either a key press or button.
// we simulate by sending a button press and release
@ -255,7 +254,6 @@ void WaylandServer::fakeDummyQtWindowInput()
m_qtConnection->flush();
m_dummyWindow->hide();
m_seat->setFocusedPointerSurface(oldSeatSurface, oldPos);
#endif
}
void WaylandServer::dispatch()