Commit 28500de2 authored by Adriaan de Groot's avatar Adriaan de Groot

[calamares] Register modules in test-loader

- When a viewmodule is loaded, register it with the module manager
  (especially relevant for the slideshow module).
parent c7d0df22
......@@ -397,8 +397,9 @@ main( int argc, char* argv[] )
mw = module.m_ui ? new QMainWindow() : nullptr;
(void)new Calamares::Branding( module.m_branding );
(void)new Calamares::ModuleManager( QStringList(), nullptr );
auto* modulemanager = new Calamares::ModuleManager( QStringList(), nullptr );
(void)Calamares::ViewManager::instance( mw );
modulemanager->addModule( m );
if ( !m->isLoaded() )
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment