Fix deprecated Qt functions

Change the way to get the screen size
Remove Qt::WindowFlags
Change function to process events from mouse wheel
This commit is contained in:
jfmcarreira committed 2021-05-01 01:35:28 +01:00
1 parent 56fc2e45bb
commit 3732810f9e
6 files changed
+17 -10

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ QSize VideoSubWindow::sizeHint() const
}
else
{
maxSize = QApplication::desktop()->availableGeometry().size();
maxSize = QGuiApplication::screens()[0]->availableGeometry().size();
}
return sizeHint( maxSize );
}