mobile: remove logText property

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-09-11 16:48:07 -07:00
parent f33c90ba6b
commit 085c65b0c4
2 changed files with 0 additions and 18 deletions

View file

@ -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;

View file

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