qpa eglfs: remove unreachable if statement

There is the same return-statement right before.

Pick-to: 6.5
Change-Id: I7890c386e50733aefbba57ed9f6df09763c54bc3
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit 19bce49aaa510e6d10647a71dc2ef36537e51847)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Inho Lee 2024-11-18 08:10:00 +01:00 committed by Qt Cherry-pick Bot
parent 177761f0f3
commit 5ed1f61c56

View File

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