summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-01-10 08:41:16 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-10 09:25:57 -0700
commit79b04a2f01c96ceb1afea73f252e69a6c6d4d033 (patch)
treea9aed8f13b94faf5fea7aefd09ac00911468f86e /mobile-widgets/qmlmanager.h
parente700920e8efd23e2101194145d00c9f282a41e6c (diff)
downloadsubsurface-79b04a2f01c96ceb1afea73f252e69a6c6d4d033.tar.gz
mobile: remove selectedDiveTimeStamp logic
Since the selection is now handled in the core this is not needed anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index d497280bd..3919eec35 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -32,7 +32,6 @@ class QMLManager : public QObject {
Q_PROPERTY(QString startPageText MEMBER m_startPageText WRITE setStartPageText NOTIFY startPageTextChanged)
Q_PROPERTY(bool verboseEnabled MEMBER m_verboseEnabled WRITE setVerboseEnabled NOTIFY verboseEnabledChanged)
Q_PROPERTY(QString notificationText MEMBER m_notificationText WRITE setNotificationText NOTIFY notificationTextChanged)
- Q_PROPERTY(int selectedDiveTimestamp MEMBER m_selectedDiveTimestamp WRITE setSelectedDiveTimestamp NOTIFY selectedDiveTimestampChanged)
Q_PROPERTY(QStringList suitList READ suitList NOTIFY suitListChanged)
Q_PROPERTY(QStringList buddyList READ buddyList NOTIFY buddyListChanged)
Q_PROPERTY(QStringList divemasterList READ divemasterList NOTIFY divemasterListChanged)
@@ -136,9 +135,6 @@ public:
QString notificationText() const;
void setNotificationText(QString text);
- int selectedDiveTimestamp() const;
- void setSelectedDiveTimestamp(int when);
-
QString progressMessage() const;
void setProgressMessage(QString text);
@@ -243,7 +239,6 @@ private:
bool m_loadFromCloud;
static QMLManager *m_instance;
QString m_notificationText;
- int m_selectedDiveTimestamp;
qreal m_lastDevicePixelRatio;
QElapsedTimer timer;
bool alreadySaving;
@@ -282,7 +277,6 @@ signals:
void loadFromCloudChanged();
void startPageTextChanged();
void notificationTextChanged();
- void selectedDiveTimestampChanged();
void sendScreenChanged(QScreen *screen);
void progressMessageChanged();
void btEnabledChanged();