diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index b935a5bd8..01d9c0196 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -154,7 +154,8 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false), m_selectedDiveTimestamp(0), alreadySaving(false), m_pluggedInDeviceName(""), - m_showNonDiveComputers(false) + m_showNonDiveComputers(false), + m_oldStatus(qPrefCloudStorage::CS_UNKNOWN) { m_instance = this; m_lastDevicePixelRatio = qApp->devicePixelRatio(); @@ -2196,3 +2197,15 @@ void QMLManager::uploadFinishSlot(bool success, const QString &text, const QByte emit uploadFinish(success, text); } +qPrefCloudStorage::cloud_status QMLManager::oldStatus() const +{ + return m_oldStatus; +} + +void QMLManager::setOldStatus(const qPrefCloudStorage::cloud_status value) +{ + if (m_oldStatus != value) { + m_oldStatus = value; + emit oldStatusChanged(); + } +} |