diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 26a5656d8f9863b95ada271267996bca47a4ae2e..e22f1fa1fafe00831e6e11450a1e673099745e8f 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -401,11 +401,11 @@ bool QGCApplication::_initForNormalAppBoot(void) // Start the user interface MainWindow* mainWindow = MainWindow::_create(); Q_CHECK_PTR(mainWindow); +#endif // Now that main window is up check for lost log files connect(this, &QGCApplication::checkForLostLogFiles, toolbox()->mavlinkProtocol(), &MAVLinkProtocol::checkForLostLogFiles); emit checkForLostLogFiles(); -#endif // Load known link configurations toolbox()->linkManager()->loadLinkConfigurationList();