mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 11:55:36 -04:00
[partition] Fix missing initialization of the attribute partAttributes
- Initialize the attribute partAttributes to 0; it is a primitive type
and it is not initialized in some constructors.
Fixes commit c1b5426c6
([partition] Add support for partition attributes).
- Move implementation of default constructor to cpp.
This commit is contained in:
parent
fde1aad465
commit
4974d86932
2 changed files with 7 additions and 1 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
CalamaresUtils::Partition::PartitionSize partMaxSize;
|
||||
|
||||
/// @brief All-zeroes PartitionEntry
|
||||
PartitionEntry() {}
|
||||
PartitionEntry();
|
||||
/// @brief Parse @p size, @p min and @p max to their respective member variables
|
||||
PartitionEntry( const QString& size, const QString& min, const QString& max );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue