qpa eglfs: remove unreachable if statement

There is the same return-statement right before.

Pick-to: 6.8 6.5
Change-Id: I7890c386e50733aefbba57ed9f6df09763c54bc3
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Inho Lee 2024-11-18 08:10:00 +01:00
parent 78a011b9ba
commit 19bce49aaa

View File

@ -64,9 +64,6 @@ void QEglFSWindow::create()
m_flags = Created;
if (window()->type() == Qt::Desktop)
return;
// Stop if there is already a window backed by a native window and surface. Additional
// raster windows will not have their own native window, surface and context. Instead,
// they will be composited onto the root window's surface.