diff --git a/src/fs/luks.h b/src/fs/luks.h index 9a6ea4e..9ee8ea4 100644 --- a/src/fs/luks.h +++ b/src/fs/luks.h @@ -188,7 +188,6 @@ public: static bool canEncryptType(FileSystem::Type type); void initLUKS(); - virtual luks::KeyLocation keyLocation() { return luks::dmcrypt; }; bool testPassphrase(const QString& deviceNode, const QString& passphrase) const; protected: diff --git a/src/fs/luks2.h b/src/fs/luks2.h index 9b7ffc1..cb014f8 100644 --- a/src/fs/luks2.h +++ b/src/fs/luks2.h @@ -43,7 +43,7 @@ public: FileSystem::Type type() const override; - luks::KeyLocation keyLocation() override; + luks::KeyLocation keyLocation(); }; }