PCM::createImmutableDeviceCopy can be static.
This commit is contained in:
parent
1a882758ca
commit
ace0d30eb4
@ -69,6 +69,7 @@ PartitionCoreModule::DeviceInfo::~DeviceInfo()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
PartitionCoreModule::DeviceInfo::forgetChanges()
|
||||
{
|
||||
@ -167,7 +168,7 @@ PartitionCoreModule::partitionModelForDevice( Device* device ) const
|
||||
|
||||
|
||||
Device*
|
||||
PartitionCoreModule::createImmutableDeviceCopy( Device* device ) const
|
||||
PartitionCoreModule::createImmutableDeviceCopy( Device* device )
|
||||
{
|
||||
CoreBackend* backend = CoreBackendManager::self()->backend();
|
||||
|
||||
|
@ -71,7 +71,8 @@ public:
|
||||
// that contains the current state of a disk regardless of subsequent changes.
|
||||
// This should probably be redone some other way.
|
||||
// -- 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user