mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Queue module jobs in the order they are listed in the "install" section of settings.conf
This commit is contained in:
parent
1b64917385
commit
b5b72855c3
9 changed files with 48 additions and 23 deletions
|
@ -50,11 +50,11 @@ ViewModule::loadSelf()
|
|||
cDebug() << Q_FUNC_INFO << "for module" << name();
|
||||
if ( m_loader )
|
||||
{
|
||||
ViewStep *vs = qobject_cast< ViewStep* >( m_loader->instance() );
|
||||
vs->setConfigurationMap( m_configurationMap );
|
||||
if ( vs )
|
||||
m_viewStep = qobject_cast< ViewStep* >( m_loader->instance() );
|
||||
m_viewStep->setConfigurationMap( m_configurationMap );
|
||||
if ( m_viewStep )
|
||||
{
|
||||
ViewManager::instance()->addViewStep( vs );
|
||||
ViewManager::instance()->addViewStep( m_viewStep );
|
||||
m_loaded = true;
|
||||
}
|
||||
else
|
||||
|
@ -65,6 +65,13 @@ ViewModule::loadSelf()
|
|||
}
|
||||
|
||||
|
||||
QList< job_ptr >
|
||||
ViewModule::jobs() const
|
||||
{
|
||||
return m_viewStep->jobs();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ViewModule::initFrom( const YAML::Node& node )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue