diff --git a/src/ops/deleteoperation.cpp b/src/ops/deleteoperation.cpp index 3f2c52f..0a83c96 100644 --- a/src/ops/deleteoperation.cpp +++ b/src/ops/deleteoperation.cpp @@ -149,7 +149,7 @@ bool DeleteOperation::canDelete(const Partition* p, const QList pen if (p->roles().has(PartitionRole::Luks)) { - const FS::luks* luksFs = dynamic_cast(&p->fileSystem()); + const FS::luks* luksFs = static_cast(&p->fileSystem()); if (!luksFs) return false;