diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-01 06:10:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-04 12:00:24 -0700 |
commit | a37499bccd9135a01fedf0d89ddb5de5d9c43f01 (patch) | |
tree | 698d8402911b180fc9e8348fd24b266bc0d05dd5 /mobile-widgets/qmlmanager.h | |
parent | f9ccbabb3dd68b887d4cf93cfdbfbd09d7288b84 (diff) | |
download | subsurface-a37499bccd9135a01fedf0d89ddb5de5d9c43f01.tar.gz |
mobile: add indication if the app has finished initializing
This will help us to ensure that notifications are actually shown on the
UI during the startup phase.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 932ffc911..67769d66f 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -59,6 +59,7 @@ class QMLManager : public QObject { Q_PROPERTY(QString undoText READ getUndoText NOTIFY undoTextChanged) // this is a read-only property Q_PROPERTY(QString redoText READ getRedoText NOTIFY redoTextChanged) // this is a read-only property Q_PROPERTY(bool diveListProcessing MEMBER m_diveListProcessing WRITE setDiveListProcessing NOTIFY diveListProcessingChanged) + Q_PROPERTY(bool initialized MEMBER m_initialized NOTIFY initializedChanged) public: QMLManager(); @@ -248,6 +249,7 @@ private: bool m_locationServiceAvailable; bool m_verboseEnabled; bool m_diveListProcessing; + bool m_initialized; GpsLocation *locationProvider; bool m_loadFromCloud; static QMLManager *m_instance; @@ -291,6 +293,7 @@ signals: void locationServiceAvailableChanged(); void verboseEnabledChanged(); void diveListProcessingChanged(); + void initializedChanged(); void logTextChanged(); void loadFromCloudChanged(); void startPageTextChanged(); |