Unify default dpi between eglfs and linuxfb

Task-number: QTBUG-37251
Change-Id: I4ab8e645441f6ad3a122304e1ead050b48fafbac
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
bb10
Laszlo Agocs 2014-03-06 10:56:32 +01:00 committed by The Qt Project
parent aff7e6c02e
commit 77024a62fe
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}