[partition] Move initLayout logic to object PartitionLayout

- The logic of the method initLayout belongs to the object
  PartitionLayout. Move logic to that object.
- Use a single method initLayout in object PartitionCoreModule.
- Member m_partLayout in object PartitionCoreModule is no longer
  allocated.
This commit is contained in:
Gaël PORTAY 2020-06-19 23:06:38 -04:00
parent eae1e90dce
commit d6ea30b23e
5 changed files with 81 additions and 85 deletions

View file

@ -62,6 +62,7 @@ public:
PartitionLayout( const PartitionLayout& layout );
~PartitionLayout();
void init( const QVariantList& config );
bool addEntry( const QString& mountPoint,
const QString& size,
const QString& min = QString(),