diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index f3440cf75..5765667d0 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -9,6 +9,7 @@ #include <QElapsedTimer> #include <QColor> #include <QFile> +#include <QMutex> #include "core/btdiscovery.h" #include "core/gpslocation.h" @@ -255,7 +256,7 @@ private: QString m_notificationText; qreal m_lastDevicePixelRatio; QElapsedTimer timer; - bool alreadySaving; + QMutex alreadySaving; bool checkDate(const DiveObjectHelper &myDive, struct dive *d, QString date); bool checkLocation(DiveSiteChange &change, const DiveObjectHelper &myDive, struct dive *d, QString location, QString gps); bool checkDuration(const DiveObjectHelper &myDive, struct dive *d, QString duration); |