mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
PCM::createImmutableDeviceCopy can be static.
This commit is contained in:
parent
1a882758ca
commit
ace0d30eb4
2 changed files with 4 additions and 2 deletions
|
@ -69,6 +69,7 @@ PartitionCoreModule::DeviceInfo::~DeviceInfo()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
PartitionCoreModule::DeviceInfo::forgetChanges()
|
PartitionCoreModule::DeviceInfo::forgetChanges()
|
||||||
{
|
{
|
||||||
|
@ -167,7 +168,7 @@ PartitionCoreModule::partitionModelForDevice( Device* device ) const
|
||||||
|
|
||||||
|
|
||||||
Device*
|
Device*
|
||||||
PartitionCoreModule::createImmutableDeviceCopy( Device* device ) const
|
PartitionCoreModule::createImmutableDeviceCopy( Device* device )
|
||||||
{
|
{
|
||||||
CoreBackend* backend = CoreBackendManager::self()->backend();
|
CoreBackend* backend = CoreBackendManager::self()->backend();
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,8 @@ public:
|
||||||
// that contains the current state of a disk regardless of subsequent changes.
|
// that contains the current state of a disk regardless of subsequent changes.
|
||||||
// This should probably be redone some other way.
|
// This should probably be redone some other way.
|
||||||
// -- Teo 4/2015
|
// -- Teo 4/2015
|
||||||
Device* createImmutableDeviceCopy( Device* device ) const;
|
//FIXME: make this horrible method private. -- Teo 12/2015
|
||||||
|
static Device* createImmutableDeviceCopy( Device* device );
|
||||||
|
|
||||||
QAbstractItemModel* bootLoaderModel() const;
|
QAbstractItemModel* bootLoaderModel() const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue