From a752761937d040047010bd22b133ab3fd42f5f69 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 26 Feb 2023 12:57:16 +0100 Subject: [PATCH] Moved the application updater result fetch prior to the startup time log message. --- es-app/src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 78181f240..b365212ff 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -791,17 +791,17 @@ int main(int argc, char* argv[]) lastTime = SDL_GetTicks(); +#if defined(APPLICATION_UPDATER) + if (ApplicationUpdater::getInstance().getResults()) + ViewController::getInstance()->updateAvailableDialog(); +#endif + LOG(LogInfo) << "Application startup time: " << std::chrono::duration_cast( std::chrono::system_clock::now() - applicationStartTime) .count() << " ms"; -#if defined(APPLICATION_UPDATER) - if (ApplicationUpdater::getInstance().getResults()) - ViewController::getInstance()->updateAvailableDialog(); -#endif - // Open the input configuration GUI if the force flag was passed from the command line. if (forceInputConfig) { ViewController::getInstance()->cancelViewTransitions();