From f7981328627666dd0df51c0ac296e2fa7511238f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 8 Mar 2016 19:33:19 -0800 Subject: QMLProfile: correctly track the device pixel ratio And set the font size accordingly. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlprofile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-mobile/qmlprofile.h') diff --git a/qt-mobile/qmlprofile.h b/qt-mobile/qmlprofile.h index 35332ce8d..c8a77d700 100644 --- a/qt-mobile/qmlprofile.h +++ b/qt-mobile/qmlprofile.h @@ -24,11 +24,13 @@ public: public slots: void setMargin(int margin); + void screenChanged(QScreen *screen); private: QString m_diveId; qreal m_devicePixelRatio; int m_margin; ProfileWidget2 *m_profileWidget; + signals: void rightAlignedChanged(); void diveIdChanged(); -- cgit v1.2.3-70-g09d2