From 77024a62fefd641ad45371823c77530dcced2750 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 6 Mar 2014 10:56:32 +0100 Subject: [PATCH] Unify default dpi between eglfs and linuxfb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-37251 Change-Id: I4ab8e645441f6ad3a122304e1ead050b48fafbac Reviewed-by: Jørgen Lind --- src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }