Git commit 2b58792845f4ad2db417c9278d428046338587bb by Steve Allewell. Committed on 31/10/2015 at 19:13. Pushed by sallewell into branch 'frameworks'. Use logical DPI rather than physical Discovery of difference in physical dpi X and Y when using vmware to run OpenSuSE Tumbleweed KF5 resulting in distorted editor view. M +2 -2 src/Editor.cpp http://commits.kde.org/kxstitch/2b58792845f4ad2db417c9278d428046338587bb diff --git a/src/Editor.cpp b/src/Editor.cpp index 5dfd1cb..7bd87bb 100644 --- a/src/Editor.cpp +++ b/src/Editor.cpp @@ -372,8 +372,8 @@ bool Editor::zoom(double factor) = m_zoomFactor =3D factor; = - double dpiX =3D physicalDpiX(); - double dpiY =3D physicalDpiY(); + double dpiX =3D logicalDpiX(); + double dpiY =3D logicalDpiY(); = bool clothCountUnitsInches =3D (static_cast(m_document->property("clothCountUnits").toInt()) =3D= =3D Configuration::EnumEditor_ClothCountUnits::Inches); =