PCM::createImmutableDeviceCopy can be static.

main
Teo Mrnjavac 9 years ago
parent 1a882758ca
commit ace0d30eb4

@ -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…
Cancel
Save