Move FileSystem::defaultFileSystem to GUI.
This commit is contained in:
parent
80904cded3
commit
46615725b5
|
@ -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;
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue