mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35:36 -04:00
[partition] Start sanitizing the Jobs on a Device
- having a struct with an obtuse API for adding jobs-that-need-to-happen- to-this-device is just not good for maintainability. - break the build by making things private.
This commit is contained in:
parent
c63d4ad2cc
commit
c2929e93b3
2 changed files with 9 additions and 3 deletions
|
@ -255,13 +255,17 @@ private:
|
|||
QScopedPointer< Device > device;
|
||||
QScopedPointer< PartitionModel > partitionModel;
|
||||
const QScopedPointer< Device > immutableDevice;
|
||||
Calamares::JobList jobs;
|
||||
|
||||
// To check if LVM VGs are deactivated
|
||||
bool isAvailable;
|
||||
|
||||
void forgetChanges();
|
||||
bool isDirty() const;
|
||||
|
||||
const Calamares::JobList& jobs() const { return m_jobs; }
|
||||
|
||||
private:
|
||||
Calamares::JobList m_jobs;
|
||||
};
|
||||
QList< DeviceInfo* > m_deviceInfos;
|
||||
QList< Partition* > m_efiSystemPartitions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue