mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: add callback to run after app is fully initialized
And then use that to check for pending Intents on Android. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b85098d401
commit
fbf94d4a7b
3 changed files with 14 additions and 0 deletions
|
@ -1856,3 +1856,15 @@ void QMLManager::showDownloadPage(QString deviceString)
|
|||
m_pluggedInDeviceName = strdup(qPrintable(name));
|
||||
emit pluggedInDeviceNameChanged();
|
||||
}
|
||||
|
||||
#if defined(Q_OS_ANDROID)
|
||||
// implemented in core/android.cpp
|
||||
void checkPendingIntents();
|
||||
#endif
|
||||
|
||||
void QMLManager::appInitialized()
|
||||
{
|
||||
#if defined(Q_OS_ANDROID)
|
||||
checkPendingIntents();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue