From 705756b9bb46e56074f2478eb139af15d43eca82 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 22 Sep 2020 14:41:12 +0200 Subject: [PATCH] [libcalamaresui] Give UI chance to catch up before modules are done --- src/libcalamaresui/modulesystem/ModuleManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcalamaresui/modulesystem/ModuleManager.cpp b/src/libcalamaresui/modulesystem/ModuleManager.cpp index 8c0f21f58..102ca9308 100644 --- a/src/libcalamaresui/modulesystem/ModuleManager.cpp +++ b/src/libcalamaresui/modulesystem/ModuleManager.cpp @@ -124,7 +124,7 @@ ModuleManager::doInit() // At this point m_availableDescriptorsByModuleName is filled with // the modules that were found in the search paths. cDebug() << "Found" << m_availableDescriptorsByModuleName.count() << "modules"; - emit initDone(); + QTimer::singleShot( 10, this, &ModuleManager::initDone ); }