Move FileSystem::defaultFileSystem to GUI.

This commit is contained in:
Andrius Štikonas 2015-06-30 22:22:00 +03:00
parent 80904cded3
commit 46615725b5
2 changed files with 0 additions and 8 deletions

View File

@ -23,8 +23,6 @@
#include <blkid/blkid.h>
#include <KLocalizedString>
#include <config.h>
/** Creates a new FileSystem object
@param firstsector the first sector used by this FileSystem on the Device
@param lastsector the last sector used by this FileSystem on the Device
@ -385,11 +383,6 @@ bool FileSystem::findExternal(const QString& cmdName, const QStringList& args, i
return cmd.exitCode() == 0 || cmd.exitCode() == expectedCode;
}
FileSystem::Type FileSystem::defaultFileSystem()
{
return static_cast<FileSystem::Type>(Config::defaultFileSystem());
}
bool FileSystem::supportToolFound() const
{
return false;

View File

@ -124,7 +124,6 @@ Partition* NewOperation::createNew(const Partition& cloneFrom)
Partition* p = new Partition(cloneFrom);
p->deleteFileSystem();
p->setFileSystem(FileSystemFactory::create(FileSystem::defaultFileSystem(), p->firstSector(), p->lastSector()));
p->setState(Partition::StateNew);
p->setPartitionPath(QString());