mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 19:05:36 -04:00
[partition] Switch to using the generic PartitionSize class
Instead of relying on a module-specific implementation, use the new PartitionSize class for storing partition sizes. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
This commit is contained in:
parent
8f9f8f1cc1
commit
80fd3d3353
5 changed files with 10 additions and 289 deletions
|
@ -87,9 +87,9 @@ PartitionLayout::addEntry( PartitionLayout::PartitionEntry entry )
|
|||
|
||||
PartitionLayout::PartitionEntry::PartitionEntry( const QString& size, const QString& min, const QString& max )
|
||||
{
|
||||
partSize = PartUtils::PartSize( size );
|
||||
partMinSize = PartUtils::PartSize( min );
|
||||
partMaxSize = PartUtils::PartSize( max );
|
||||
partSize = Calamares::PartitionSize( size );
|
||||
partMinSize = Calamares::PartitionSize( min );
|
||||
partMaxSize = Calamares::PartitionSize( max );
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue