Unverified Commit 8847dcbd authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7682 from DonLakeFlyer/MobileErrors

Turn on popup errors for mobile builds
parents 153b7739 2fde74d2
...@@ -478,6 +478,12 @@ bool QGCApplication::_initForNormalAppBoot(void) ...@@ -478,6 +478,12 @@ bool QGCApplication::_initForNormalAppBoot(void)
#ifdef __mobile__ #ifdef __mobile__
_qmlAppEngine = toolbox()->corePlugin()->createRootWindow(this); _qmlAppEngine = toolbox()->corePlugin()->createRootWindow(this);
// Safe to show popup error messages now that main window is created
UASMessageHandler* msgHandler = qgcApp()->toolbox()->uasMessageHandler();
if (msgHandler) {
msgHandler->showErrorsInToolbar();
}
#else #else
// Start the user interface // Start the user interface
MainWindow* mainWindow = MainWindow::_create(); MainWindow* mainWindow = MainWindow::_create();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment