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();