Qt: Fix fullscreen

This commit is contained in:
spycrab
2018-03-21 20:53:37 +01:00
parent 9cf22aec04
commit 8ead5be9f2
5 changed files with 25 additions and 11 deletions

View File

@ -49,6 +49,12 @@ void RenderWidget::HandleCursorTimer()
setCursor(Qt::BlankCursor);
}
void RenderWidget::showFullScreen()
{
QWidget::showFullScreen();
emit SizeChanged(width(), height());
}
bool RenderWidget::event(QEvent* event)
{
switch (event->type())