Use scoped enums for PartitionTable::Flag.

This commit is contained in:
Andrius Štikonas 2019-02-10 01:30:02 +00:00
parent 1d86260ad5
commit 98d59e69ff
Signed by: andrius
GPG Key ID: E2E5CD054CB9CD3E
1 changed files with 1 additions and 1 deletions

View File

@ -1064,7 +1064,7 @@ void MainWindow::onImportPartitionTable()
if (fs->supportSetLabel() != FileSystem::cmdSupportNone && !volumeLabel.isEmpty())
fs->setLabel(volumeLabel);
Partition* p = new Partition(parent, device, role, fs, firstSector, lastSector, QString(), PartitionTable::FlagNone, QString(), false, PartitionTable::FlagNone, Partition::State::New);
Partition* p = new Partition(parent, device, role, fs, firstSector, lastSector, QString(), PartitionTable::Flag::None, QString(), false, PartitionTable::Flag::None, Partition::State::New);
operationStack().push(new NewOperation(device, p));
} else