mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d20e25419f
commit
2fc99092fb
2 changed files with 19 additions and 18 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue