|
|
@ -45,11 +45,7 @@ FillGlobalStorageJob::exec()
|
|
|
|
QVariantList lst;
|
|
|
|
QVariantList lst;
|
|
|
|
for( auto device : m_devices )
|
|
|
|
for( auto device : m_devices )
|
|
|
|
for( auto it = PartitionIterator::begin( device ); it != PartitionIterator::end( device ); ++it)
|
|
|
|
for( auto it = PartitionIterator::begin( device ); it != PartitionIterator::end( device ); ++it)
|
|
|
|
{
|
|
|
|
lst << mapForPartition( *it );
|
|
|
|
QVariant var = mapForPartition( *it );
|
|
|
|
|
|
|
|
if ( var.isValid() )
|
|
|
|
|
|
|
|
lst << var;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Calamares::JobQueue::instance()->globalStorage()->insert( "partitions", lst );
|
|
|
|
Calamares::JobQueue::instance()->globalStorage()->insert( "partitions", lst );
|
|
|
|
return Calamares::JobResult::ok();
|
|
|
|
return Calamares::JobResult::ok();
|
|
|
|
}
|
|
|
|
}
|
|
|
|