diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-29 18:56:21 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2015-11-29 18:57:50 +0100 |
commit | 5e5c9830a48e8f9c0a376863b4fa17c7f5056af3 (patch) | |
tree | 2f2c8f89ce8c3cecad6b9f4279d94106b5cbe41d /qt-mobile/qml/mobilecomponents/Units.qml | |
parent | 6ffef818a8d34fdc8aef70c3515c2b91d8d297ac (diff) | |
download | subsurface-5e5c9830a48e8f9c0a376863b4fa17c7f5056af3.tar.gz |
Sync with upstream mobilecomponents
This updates to the state of bf7914b67c45e
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/mobilecomponents/Units.qml')
-rw-r--r-- | qt-mobile/qml/mobilecomponents/Units.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/mobilecomponents/Units.qml b/qt-mobile/qml/mobilecomponents/Units.qml index 971336301..8b5032a71 100644 --- a/qt-mobile/qml/mobilecomponents/Units.qml +++ b/qt-mobile/qml/mobilecomponents/Units.qml @@ -81,7 +81,7 @@ QtObject { * use theme.mSize(theme.defaultFont), units.smallSpacing and units.largeSpacing. * The devicePixelRatio follows the definition of "device independent pixel" by Microsoft. */ - property real devicePixelRatio: Screen.devicePixelRatio + property real devicePixelRatio: fontMetrics.height / fontMetrics.font.pointSize /** * units.longDuration should be used for longer, screen-covering animations, for opening and |