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.cpp | |
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.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 0883d0389..1d1168ac4 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -165,6 +165,7 @@ void QMLManager::usbRescan() QMLManager::QMLManager() : m_locationServiceEnabled(false), m_verboseEnabled(false), m_diveListProcessing(false), + m_initialized(false), m_pluggedInDeviceName(""), m_showNonDiveComputers(false), undoAction(Command::undoAction(this)), @@ -518,6 +519,8 @@ void QMLManager::finishSetup() appendTextToLog(tr("no cloud credentials")); setStartPageText(RED_FONT + tr("Please enter valid cloud credentials.") + END_FONT); } + m_initialized = true; + emit initializedChanged(); } QMLManager::~QMLManager() |