mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
[partition] Improve constructors for layout
- initialize flags by default - the copy constructor was just doing the default thing, so make that explicit
This commit is contained in:
parent
486cdaeeb6
commit
f78752303b
2 changed files with 2 additions and 16 deletions
|
@ -95,20 +95,6 @@ PartitionLayout::PartitionEntry::PartitionEntry( const QString& label,
|
|||
PartUtils::findFS( fs, &partFileSystem );
|
||||
}
|
||||
|
||||
PartitionLayout::PartitionEntry::PartitionEntry( const PartitionEntry& e )
|
||||
: partLabel( e.partLabel )
|
||||
, partUUID( e.partUUID )
|
||||
, partType( e.partType )
|
||||
, partAttributes( e.partAttributes )
|
||||
, partMountPoint( e.partMountPoint )
|
||||
, partFileSystem( e.partFileSystem )
|
||||
, partFeatures( e.partFeatures )
|
||||
, partSize( e.partSize )
|
||||
, partMinSize( e.partMinSize )
|
||||
, partMaxSize( e.partMaxSize )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
PartitionLayout::addEntry( const PartitionEntry& entry )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue