@@ -39,8 +39,8 @@ FocusScope {
39 property int orientationAngle
39 property int orientationAngle
41 property int supportedScreenOrientations: {
41 property int supportedScreenOrientations: {
42− if (stages.shown && SurfaceManager.topmostSurface) {
42+ if (stages.shown && ApplicationManager.topmostApplication) {
43− return SurfaceManager.topmostSurface.application.supportedOrientations;
43+ return ApplicationManager.topmostApplication.supportedOrientations;
45 return Qt.PortraitOrientation
45 return Qt.PortraitOrientation
46 | Qt.InvertedPortraitOrientation
46 | Qt.InvertedPortraitOrientation