diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-03-06 10:56:32 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-06 17:22:55 +0100 |
commit | 77024a62fefd641ad45371823c77530dcced2750 (patch) | |
tree | d89eacc6150951ce584fd86147988786f2da3aa0 | |
parent | aff7e6c02e35641f7d7a2e7543d0f905d96e1667 (diff) |
Unify default dpi between eglfs and linuxfb
Task-number: QTBUG-37251
Change-Id: I4ab8e645441f6ad3a122304e1ead050b48fafbac
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
-rw-r--r-- | src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp index 5af84918d9..aca8d76041 100644 --- a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp +++ b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp @@ -148,7 +148,7 @@ static QSizeF determinePhysicalSize(const fb_var_screeninfo &vinfo, const QSize mmWidth = vinfo.width; mmHeight = vinfo.height; } else { - const int dpi = 72; + const int dpi = 100; mmWidth = qRound(res.width() * 25.4 / dpi); mmHeight = qRound(res.height() * 25.4 / dpi); } |