mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
mobile: remove logText property
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f33c90ba6b
commit
085c65b0c4
2 changed files with 0 additions and 18 deletions
|
@ -1634,18 +1634,6 @@ int QMLManager::addDive()
|
||||||
return diveId;
|
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)
|
void QMLManager::appendTextToLog(const QString &newText)
|
||||||
{
|
{
|
||||||
qDebug() << QString::number(timer.elapsed() / 1000.0,'f', 3) + ": " + newText;
|
qDebug() << QString::number(timer.elapsed() / 1000.0,'f', 3) + ": " + newText;
|
||||||
|
|
|
@ -27,7 +27,6 @@ struct DiveSiteChange; // An obscure implementation artifact - remove in due cou
|
||||||
|
|
||||||
class QMLManager : public QObject {
|
class QMLManager : public QObject {
|
||||||
Q_OBJECT
|
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 locationServiceEnabled MEMBER m_locationServiceEnabled WRITE setLocationServiceEnabled NOTIFY locationServiceEnabledChanged)
|
||||||
Q_PROPERTY(bool locationServiceAvailable MEMBER m_locationServiceAvailable WRITE setLocationServiceAvailable NOTIFY locationServiceAvailableChanged)
|
Q_PROPERTY(bool locationServiceAvailable MEMBER m_locationServiceAvailable WRITE setLocationServiceAvailable NOTIFY locationServiceAvailableChanged)
|
||||||
Q_PROPERTY(bool loadFromCloud MEMBER m_loadFromCloud WRITE setLoadFromCloud NOTIFY loadFromCloudChanged)
|
Q_PROPERTY(bool loadFromCloud MEMBER m_loadFromCloud WRITE setLoadFromCloud NOTIFY loadFromCloudChanged)
|
||||||
|
@ -141,9 +140,6 @@ public:
|
||||||
QString startPageText() const;
|
QString startPageText() const;
|
||||||
void setStartPageText(const QString& text);
|
void setStartPageText(const QString& text);
|
||||||
|
|
||||||
QString logText() const;
|
|
||||||
void setLogText(const QString &logText);
|
|
||||||
|
|
||||||
QString notificationText() const;
|
QString notificationText() const;
|
||||||
void setNotificationText(QString text);
|
void setNotificationText(QString text);
|
||||||
|
|
||||||
|
@ -244,7 +240,6 @@ private:
|
||||||
DiveMasterCompletionModel divemasterModel;
|
DiveMasterCompletionModel divemasterModel;
|
||||||
DiveSiteSortedModel locationModel;
|
DiveSiteSortedModel locationModel;
|
||||||
QString m_startPageText;
|
QString m_startPageText;
|
||||||
QString m_logText;
|
|
||||||
QString m_lastError;
|
QString m_lastError;
|
||||||
bool m_locationServiceEnabled;
|
bool m_locationServiceEnabled;
|
||||||
bool m_locationServiceAvailable;
|
bool m_locationServiceAvailable;
|
||||||
|
@ -295,7 +290,6 @@ signals:
|
||||||
void verboseEnabledChanged();
|
void verboseEnabledChanged();
|
||||||
void diveListProcessingChanged();
|
void diveListProcessingChanged();
|
||||||
void initializedChanged();
|
void initializedChanged();
|
||||||
void logTextChanged();
|
|
||||||
void loadFromCloudChanged();
|
void loadFromCloudChanged();
|
||||||
void startPageTextChanged();
|
void startPageTextChanged();
|
||||||
void notificationTextChanged();
|
void notificationTextChanged();
|
||||||
|
|
Loading…
Reference in a new issue