diff options
-rw-r--r-- | mobile-widgets/qmlmanager.h | 1 | ||||
-rw-r--r-- | profile-widget/qmlprofile.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 79c4f23ad..0d2ef769e 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -264,7 +264,6 @@ private: bool checkDepth(const DiveObjectHelper &myDive, struct dive *d, QString depth); int openAndMaybeSync(const char *filename); bool currentGitLocalOnly; - Q_INVOKABLE DCDeviceData *m_device_data; QString m_progressMessage; bool m_btEnabled; void updateAllGlobalLists(); diff --git a/profile-widget/qmlprofile.cpp b/profile-widget/qmlprofile.cpp index ca0293c3c..80bedfad8 100644 --- a/profile-widget/qmlprofile.cpp +++ b/profile-widget/qmlprofile.cpp @@ -14,9 +14,9 @@ QMLProfile::QMLProfile(QQuickItem *parent) : QQuickPaintedItem(parent), m_devicePixelRatio(1.0), m_margin(0), - m_profileWidget(new ProfileWidget2), m_xOffset(0.0), - m_yOffset(0.0) + m_yOffset(0.0), + m_profileWidget(new ProfileWidget2) { setAntialiasing(true); setFlags(QQuickItem::ItemClipsChildrenToShape | QQuickItem::ItemHasContents ); |