Revert "Remove Luks from FileSystemFactory."
This reverts commit dd1f6aaae0
.
This commit is contained in:
parent
dd1f6aaae0
commit
c01d63cb02
|
@ -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)
|
||||
if (fs->type() == FileSystem::Unknown || fs->type() == FileSystem::Extended || fs->type() == FileSystem::Luks)
|
||||
continue;
|
||||
|
||||
QTreeWidgetItem* item = new QTreeWidgetItem();
|
||||
|
|
|
@ -70,7 +70,8 @@ void NewDialog::setupDialog()
|
|||
QStringList fsNames;
|
||||
foreach (const FileSystem * fs, FileSystemFactory::map())
|
||||
if (fs->supportCreate() != FileSystem::cmdSupportNone &&
|
||||
fs->type() != FileSystem::Extended)
|
||||
fs->type() != FileSystem::Extended &&
|
||||
fs->type() != FileSystem::Luks)
|
||||
fsNames.append(fs->name());
|
||||
|
||||
qSort(fsNames.begin(), fsNames.end(), caseInsensitiveLessThan);
|
||||
|
|
Loading…
Reference in New Issue