[packagechooser] Remove obsolete functionality from netinstall-add
This commit is contained in:
parent
f4c2db7f21
commit
a657d7388c
@ -132,23 +132,7 @@ Config::updateGlobalStorage( const QStringList& selected ) const
|
||||
}
|
||||
else
|
||||
{
|
||||
auto* gs = Calamares::JobQueue::instance()->globalStorage();
|
||||
|
||||
// If an earlier packagechooser instance added this data to global storage, combine them
|
||||
if ( gs->contains( "NetinstallAdd" ) )
|
||||
{
|
||||
auto netinstallAddOrig = gs->value( "NetinstallAdd" );
|
||||
if ( netinstallAddOrig.canConvert( QVariant::List ) )
|
||||
{
|
||||
//netinstallDataList += netinstallAddOrig.toList();
|
||||
}
|
||||
else
|
||||
{
|
||||
cWarning() << "Invalid NetinstallAdd data in global storage. Earlier selections purged";
|
||||
}
|
||||
gs->remove( "NetinstallAdd" );
|
||||
}
|
||||
gs->insert( "NetinstallAdd", netinstallDataList );
|
||||
Calamares::JobQueue::instance()->globalStorage()->insert( "NetinstallAdd", netinstallDataList );
|
||||
}
|
||||
}
|
||||
else if ( m_method == PackageChooserMethod::NetSelect )
|
||||
|
Loading…
Reference in New Issue
Block a user