mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue