diff --git a/src/fs/filesystem.cpp b/src/fs/filesystem.cpp index 29e5d9e..ce2a2e0 100644 --- a/src/fs/filesystem.cpp +++ b/src/fs/filesystem.cpp @@ -23,8 +23,6 @@ #include #include -#include - /** 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(Config::defaultFileSystem()); -} - bool FileSystem::supportToolFound() const { return false; diff --git a/src/ops/newoperation.cpp b/src/ops/newoperation.cpp index 762bf67..e6d2fa4 100644 --- a/src/ops/newoperation.cpp +++ b/src/ops/newoperation.cpp @@ -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());