Make fileLockTimeRemainingMinutes a static method

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2022-12-07 13:46:21 +01:00
parent 4e508d0276
commit 1b5b30d222
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -87,7 +87,7 @@ private:
[[nodiscard]] const QString getRelativePathToRemoteRootForFile() const; // returns either '/' or a (relative path - Folder::remotePath()) for folders pointing to a non-root remote path e.g. '/subfolder' instead of '/'
[[nodiscard]] const QString getRelativePathParent() const;
[[nodiscard]] int fileLockTimeRemainingMinutes(const int lockTime, const int lockTimeOut);
[[nodiscard]] static int fileLockTimeRemainingMinutes(const int lockTime, const int lockTimeOut);
bool _tokenVerified = false;