mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Add isDirty check to PartitionCoreModule
This commit is contained in:
parent
4cadbf9b98
commit
dab5a05116
2 changed files with 9 additions and 0 deletions
|
@ -383,6 +383,13 @@ PartitionCoreModule::revert()
|
||||||
updateIsDirty();
|
updateIsDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool
|
||||||
|
PartitionCoreModule::isDirty()
|
||||||
|
{
|
||||||
|
return m_isDirty;
|
||||||
|
}
|
||||||
|
|
||||||
QList< PartitionCoreModule::SummaryInfo >
|
QList< PartitionCoreModule::SummaryInfo >
|
||||||
PartitionCoreModule::createSummaryInfo() const
|
PartitionCoreModule::createSummaryInfo() const
|
||||||
{
|
{
|
||||||
|
|
|
@ -86,6 +86,8 @@ public:
|
||||||
|
|
||||||
void revert();
|
void revert();
|
||||||
|
|
||||||
|
bool isDirty();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To be called when a partition has been altered, but only for changes
|
* To be called when a partition has been altered, but only for changes
|
||||||
* which do not affect its size, because changes which affect the partition size
|
* which do not affect its size, because changes which affect the partition size
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue