Fix indentation.
This commit is contained in:
parent
46946c7949
commit
c25bb0d923
|
@ -120,14 +120,14 @@ bool NewOperation::canCreateNew(const Partition* p)
|
|||
}
|
||||
|
||||
Partition* NewOperation::createNew(const Partition& cloneFrom,
|
||||
FileSystem::Type type)
|
||||
FileSystem::Type type)
|
||||
{
|
||||
Partition* p = new Partition(cloneFrom);
|
||||
|
||||
p->deleteFileSystem();
|
||||
p->setFileSystem(FileSystemFactory::create(type,
|
||||
p->firstSector(),
|
||||
p->lastSector()));
|
||||
p->setFileSystem(FileSystemFactory::create(type,
|
||||
p->firstSector(),
|
||||
p->lastSector()));
|
||||
p->setState(Partition::StateNew);
|
||||
p->setPartitionPath(QString());
|
||||
|
||||
|
|
|
@ -61,8 +61,7 @@ class LIBKPMCORE_EXPORT NewOperation : public Operation
|
|||
virtual bool targets(const Partition& p) const;
|
||||
|
||||
static bool canCreateNew(const Partition* p);
|
||||
static Partition* createNew(const Partition& cloneFrom,
|
||||
FileSystem::Type type);
|
||||
static Partition* createNew(const Partition& cloneFrom, FileSystem::Type type);
|
||||
|
||||
protected:
|
||||
Partition& newPartition() { return *m_NewPartition; }
|
||||
|
|
Loading…
Reference in New Issue