mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35: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
|
@ -34,7 +34,7 @@ public:
|
|||
QString partLabel;
|
||||
QString partUUID;
|
||||
QString partType;
|
||||
quint64 partAttributes;
|
||||
quint64 partAttributes = 0;
|
||||
QString partMountPoint;
|
||||
FileSystem::Type partFileSystem = FileSystem::Unknown;
|
||||
QVariantMap partFeatures;
|
||||
|
@ -61,7 +61,7 @@ public:
|
|||
const QString& minSize = QString(),
|
||||
const QString& maxSize = QString() );
|
||||
/// @brief Copy PartitionEntry
|
||||
PartitionEntry( const PartitionEntry& e );
|
||||
PartitionEntry( const PartitionEntry& e ) = default;
|
||||
|
||||
bool isValid() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue