Fix indentation.

This commit is contained in:
Teo Mrnjavac 2015-07-13 15:50:06 +02:00
parent 46946c7949
commit c25bb0d923
2 changed files with 5 additions and 6 deletions

View File

@ -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());

View File

@ -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; }