[partition] Initialize the filesystem type, not the partition type
- Passing FileSystem::Type to the QString constructor for partition type is not what I intended.
This commit is contained in:
parent
73b5a0898d
commit
ffce79e30e
@ -41,14 +41,14 @@ PartitionLayout::PartitionEntry::PartitionEntry()
|
||||
{
|
||||
}
|
||||
|
||||
PartitionLayout::PartitionEntry::PartitionEntry( FileSystem::Type type,
|
||||
PartitionLayout::PartitionEntry::PartitionEntry( FileSystem::Type fs,
|
||||
const QString& mountPoint,
|
||||
const QString& size,
|
||||
const QString& minSize,
|
||||
const QString& maxSize )
|
||||
: partType( type )
|
||||
, partAttributes( 0 )
|
||||
: partAttributes( 0 )
|
||||
, partMountPoint( mountPoint )
|
||||
, partFileSystem( fs )
|
||||
, partSize( size )
|
||||
, partMinSize( minSize )
|
||||
, partMaxSize( maxSize )
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
* Sets a specific FS type (not parsed from string like the other
|
||||
* constructor).
|
||||
*/
|
||||
PartitionEntry( FileSystem::Type type,
|
||||
PartitionEntry( FileSystem::Type fs,
|
||||
const QString& mountPoint,
|
||||
const QString& size,
|
||||
const QString& minSize = QString(),
|
||||
|
Loading…
Reference in New Issue
Block a user