summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2013-04-04 17:54:56 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-05 16:25:59 +0200
commita658d26d84d1fa2b45d8e39d45cf93040a384603 (patch)
tree8cfe3910e9264fbf613280e11fdb57650e65baf8 /src/plugins/platforms/eglfs/qeglfsscreen.cpp
parent9b7c66ac7f0ed3c240ccbabe2b460d7ad4171749 (diff)
EglFS: allow the hook to override logicalDpi()
Task-number: QTBUG-29674 Change-Id: Id88a8735ceb7f5bcb63344b3b0653486a6caa70d Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.cpp b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
index 83f50dd382..e104bd7f2b 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
@@ -88,6 +88,12 @@ QSizeF QEglFSScreen::physicalSize() const
return QEglFSHooks::hooks()->physicalScreenSize();
}
+QDpi QEglFSScreen::logicalDpi() const
+{
+ return QEglFSHooks::hooks()->logicalDpi();
+}
+
+
QPlatformCursor *QEglFSScreen::cursor() const
{
return m_cursor;