aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-11 16:48:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-13 11:21:34 -0700
commit085c65b0c42f7877c7b191c0bf3659e633df01c6 (patch)
tree43b6846dbd9e1e16a6921e34fb6553a3d6557d02
parentf33c90ba6ba372656abe8f2b23047d6c183c2886 (diff)
downloadsubsurface-085c65b0c42f7877c7b191c0bf3659e633df01c6.tar.gz
mobile: remove logText property
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp12
-rw-r--r--mobile-widgets/qmlmanager.h6
2 files changed, 0 insertions, 18 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 52a6f3d2b..f6436bb3b 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1634,18 +1634,6 @@ int QMLManager::addDive()
return diveId;
}
-QString QMLManager::logText() const
-{
- QString logText = m_logText + QString("\nNumer of GPS fixes: %1").arg(GpsLocation::instance()->getGpsNum());
- return logText;
-}
-
-void QMLManager::setLogText(const QString &logText)
-{
- m_logText = logText;
- emit logTextChanged();
-}
-
void QMLManager::appendTextToLog(const QString &newText)
{
qDebug() << QString::number(timer.elapsed() / 1000.0,'f', 3) + ": " + newText;
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index fd379d69c..d7e62cffe 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -27,7 +27,6 @@ struct DiveSiteChange; // An obscure implementation artifact - remove in due cou
class QMLManager : public QObject {
Q_OBJECT
- Q_PROPERTY(QString logText READ logText WRITE setLogText NOTIFY logTextChanged)
Q_PROPERTY(bool locationServiceEnabled MEMBER m_locationServiceEnabled WRITE setLocationServiceEnabled NOTIFY locationServiceEnabledChanged)
Q_PROPERTY(bool locationServiceAvailable MEMBER m_locationServiceAvailable WRITE setLocationServiceAvailable NOTIFY locationServiceAvailableChanged)
Q_PROPERTY(bool loadFromCloud MEMBER m_loadFromCloud WRITE setLoadFromCloud NOTIFY loadFromCloudChanged)
@@ -141,9 +140,6 @@ public:
QString startPageText() const;
void setStartPageText(const QString& text);
- QString logText() const;
- void setLogText(const QString &logText);
-
QString notificationText() const;
void setNotificationText(QString text);
@@ -244,7 +240,6 @@ private:
DiveMasterCompletionModel divemasterModel;
DiveSiteSortedModel locationModel;
QString m_startPageText;
- QString m_logText;
QString m_lastError;
bool m_locationServiceEnabled;
bool m_locationServiceAvailable;
@@ -295,7 +290,6 @@ signals:
void verboseEnabledChanged();
void diveListProcessingChanged();
void initializedChanged();
- void logTextChanged();
void loadFromCloudChanged();
void startPageTextChanged();
void notificationTextChanged();