summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.cpp b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
index 1fe8bcc11b..a726215e67 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
@@ -90,6 +90,15 @@ QDpi QEglFSScreen::logicalDpi() const
return QEglFSHooks::hooks()->logicalDpi();
}
+Qt::ScreenOrientation QEglFSScreen::nativeOrientation() const
+{
+ return QEglFSHooks::hooks()->nativeOrientation();
+}
+
+Qt::ScreenOrientation QEglFSScreen::orientation() const
+{
+ return QEglFSHooks::hooks()->orientation();
+}
QPlatformCursor *QEglFSScreen::cursor() const
{