QML-UI: replace the two ways to log progress with one

The logging to the UI didn't work anymore since the message area had been
removed in commit 8646934ba3 ("Simple DiveList as initial Page").

This way all the updates simply land on the Log page.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-03 15:59:40 -08:00
parent d20e25419f
commit 2fc99092fb
2 changed files with 19 additions and 18 deletions

View file

@ -6,8 +6,6 @@
#include "gpslocation.h"
void qmlUiShowMessage(const char *errorString);
class QMLManager : public QObject
{
Q_OBJECT
@ -23,6 +21,8 @@ public:
QMLManager();
~QMLManager();
static QMLManager *instance();
QString cloudUserName() const;
void setCloudUserName(const QString &cloudUserName);
@ -70,6 +70,7 @@ private:
int m_timeThreshold;
GpsLocation *locationProvider;
bool m_loadFromCloud;
static QMLManager *m_instance;
signals:
void cloudUserNameChanged();