diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 12dbf6f8a..8984f9dc2 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -228,10 +228,10 @@ private: qreal m_lastDevicePixelRatio; QElapsedTimer timer; bool alreadySaving; - bool checkDate(DiveObjectHelper *myDive, struct dive * d, QString date); - bool checkLocation(DiveObjectHelper *myDive, struct dive *d, QString location, QString gps); - bool checkDuration(DiveObjectHelper *myDive, struct dive *d, QString duration); - bool checkDepth(DiveObjectHelper *myDive, struct dive *d, QString depth); + bool checkDate(const DiveObjectHelper &myDive, struct dive *d, QString date); + bool checkLocation(const DiveObjectHelper &myDive, struct dive *d, QString location, QString gps); + bool checkDuration(const DiveObjectHelper &myDive, struct dive *d, QString duration); + bool checkDepth(const DiveObjectHelper &myDive, struct dive *d, QString depth); bool currentGitLocalOnly; Q_INVOKABLE DCDeviceData *m_device_data; QString m_progressMessage; |