Don't fullscreen windows from the showEvent

Martin says this probably results in the loops, and setting window state
to fullscreen from constructor should be enough.
This commit is contained in:
Bhushan Shah 2018-02-12 14:07:12 +05:30
parent 0d626dc7ad
commit eb6b01b558

View file

@ -95,7 +95,7 @@ void FullScreenPanel::showEvent(QShowEvent *event)
{
using namespace KWayland::Client;
QQuickWindow::showEvent(event);
setWindowState(Qt::WindowFullScreen);
// setWindowState(Qt::WindowFullScreen);
}