From 4412c6243344b9c07f5ca2396716a35a5f90cfd4 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 22 Dec 2018 02:46:24 +0100 Subject: [PATCH] Add remark regarding PasswordFile::isEncryptionUsed() --- io/passwordfile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/io/passwordfile.cpp b/io/passwordfile.cpp index 65e1dbe..f9a378e 100644 --- a/io/passwordfile.cpp +++ b/io/passwordfile.cpp @@ -686,7 +686,9 @@ void PasswordFile::setPath(const string &value) } /*! - * \brief Returns an indication whether encryption is used if the file is open; returns always false otherwise. + * \brief Returns an indication whether encryption is used and the file is open; returns always false otherwise. + * \remarks This method is meant to determine whether encryption is used *before* loading the file. If the file has + * already been loaded, use preferably saveOptions(). */ bool PasswordFile::isEncryptionUsed() {