From 45a3fff62c00b48e392b83cda8e5dd5fba9af8bb Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 30 Mar 2020 20:38:27 +0200 Subject: cleanup: fix initialization order in QMLProfile constructor The compiler complains that members were initialized out-of-order. Even though this is not an issue here it is correct to emit a warning, since only then it is guaranteed that the objects are destructed in reverse-order with respect to construction. Signed-off-by: Berthold Stoeger --- mobile-widgets/qmlmanager.h | 1 - 1 file changed, 1 deletion(-) (limited to 'mobile-widgets') 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(); -- cgit v1.2.3-70-g09d2