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:
parent
78a011b9ba
commit
19bce49aaa
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user