Follow change introduced in d6588d2
Change-Id: I1040e973612edced105163c2af06d165a0c27d51
Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
return Qt::PrimaryOrientation;
}
-Qt::WindowState QWaylandWindow::setWindowState(Qt::WindowState state)
+void QWaylandWindow::setWindowState(Qt::WindowState state)
{
if (state == Qt::WindowFullScreen || state == Qt::WindowMaximized) {
QScreen *screen = window()->screen();
setGeometry(geometry);
QWindowSystemInterface::handleGeometryChange(window(), geometry);
-
- return state;
}
-
- return Qt::WindowNoState;
}
void QWaylandWindow::setWindowFlags(Qt::WindowFlags flags)
void handleContentOrientationChange(Qt::ScreenOrientation orientation);
Qt::ScreenOrientation requestWindowOrientation(Qt::ScreenOrientation orientation);
- Qt::WindowState setWindowState(Qt::WindowState state);
+ void setWindowState(Qt::WindowState state);
void setWindowFlags(Qt::WindowFlags flags);
bool isExposed() const;