diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-09-13 16:01:34 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-09-15 18:20:01 +0300 |
commit | 65b67b3ff594b5b9baa6f52108510afff1c99f7c (patch) | |
tree | 8f1d6b1938c35ee219c599ffbdbafbf265d8c284 /src/gui/folderman.cpp | |
parent | c0b4c4817cfd858d9a59bb67e4a65a532c1fdfe3 (diff) |
Fix crash on missing sync root
Fixes: #9016
Diffstat (limited to 'src/gui/folderman.cpp')
-rw-r--r-- | src/gui/folderman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index bfdcfc29d..dc4941bc0 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -1505,9 +1505,9 @@ Result<void, QString> FolderMan::unsupportedConfiguration(const QString &path) c return {}; } -bool FolderMan::checkVfsAvailability(const QString &path) const +bool FolderMan::checkVfsAvailability(const QString &path, Vfs::Mode mode) const { - return unsupportedConfiguration(path) && Vfs::checkAvailability(path); + return unsupportedConfiguration(path) && Vfs::checkAvailability(path, mode); } } // namespace OCC |