From dd1f6aaae0962234896459401d53951af9b9906d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 17 May 2016 15:05:05 +0100 Subject: [PATCH] Remove Luks from FileSystemFactory. --- src/gui/filesystemsupportdialog.cpp | 2 +- src/gui/newdialog.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/filesystemsupportdialog.cpp b/src/gui/filesystemsupportdialog.cpp index 5fd4d20..b436f82 100644 --- a/src/gui/filesystemsupportdialog.cpp +++ b/src/gui/filesystemsupportdialog.cpp @@ -72,7 +72,7 @@ void FileSystemSupportDialog::setupDialog() dialogWidget().tree().clear(); foreach(const FileSystem * fs, FileSystemFactory::map()) { - if (fs->type() == FileSystem::Unknown || fs->type() == FileSystem::Extended || fs->type() == FileSystem::Luks) + if (fs->type() == FileSystem::Unknown || fs->type() == FileSystem::Extended) continue; QTreeWidgetItem* item = new QTreeWidgetItem(); diff --git a/src/gui/newdialog.cpp b/src/gui/newdialog.cpp index 0292bf4..6b33ec9 100644 --- a/src/gui/newdialog.cpp +++ b/src/gui/newdialog.cpp @@ -70,8 +70,7 @@ void NewDialog::setupDialog() QStringList fsNames; foreach (const FileSystem * fs, FileSystemFactory::map()) if (fs->supportCreate() != FileSystem::cmdSupportNone && - fs->type() != FileSystem::Extended && - fs->type() != FileSystem::Luks) + fs->type() != FileSystem::Extended) fsNames.append(fs->name()); qSort(fsNames.begin(), fsNames.end(), caseInsensitiveLessThan);