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:
1 parent
56fc2e45bb
commit
3732810f9e
6 files changed
+17
-10
No files matched your search
@@ -259,7 +259,7 @@ QSize VideoSubWindow::sizeHint() const
|
||||
}
|
||||
else
|
||||
{
|
||||
maxSize = QApplication::desktop()->availableGeometry().size();
|
||||
maxSize = QGuiApplication::screens()[0]->availableGeometry().size();
|
||||
}
|
||||
return sizeHint( maxSize );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user