[calamares] Register modules in test-loader
- When a viewmodule is loaded, register it with the module manager (especially relevant for the slideshow module).
This commit is contained in:
parent
c7d0df223a
commit
28500de2f8
@ -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() )
|
||||
|
Loading…
Reference in New Issue
Block a user