summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-05-25 10:53:36 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-05-27 11:03:26 +0200
commitfcb313248d302861c1435001fc1ad53ad8c789e4 (patch)
tree703c25192557d0ddb7aeb0e6ced8812be54ee0de /src/multimedia
parent121c0c4028d6deceded8e600959f10c364986634 (diff)
Remove QScreen::setOrientationUpdateMask usage
Since QScreen::orientationUpdateMask has been already removed. Change-Id: I7abf90c68d5f029c2e35639e79b0b6a4de2a82b0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/multimedia')
-rw-r--r--src/multimedia/video/qvideooutputorientationhandler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/multimedia/video/qvideooutputorientationhandler.cpp b/src/multimedia/video/qvideooutputorientationhandler.cpp
index dac6eb0ba..e21efb37d 100644
--- a/src/multimedia/video/qvideooutputorientationhandler.cpp
+++ b/src/multimedia/video/qvideooutputorientationhandler.cpp
@@ -50,10 +50,6 @@ QVideoOutputOrientationHandler::QVideoOutputOrientationHandler(QObject *parent)
{
QScreen *screen = QGuiApplication::primaryScreen();
- // we want to be informed about all orientation changes
- screen->setOrientationUpdateMask(Qt::PortraitOrientation|Qt::LandscapeOrientation
- |Qt::InvertedPortraitOrientation|Qt::InvertedLandscapeOrientation);
-
connect(screen, SIGNAL(orientationChanged(Qt::ScreenOrientation)),
this, SLOT(screenOrientationChanged(Qt::ScreenOrientation)));