Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-09-13 16:01:34 +0300
committerHannah von Reth <vonreth@kde.org>2021-09-15 18:20:01 +0300
commit65b67b3ff594b5b9baa6f52108510afff1c99f7c (patch)
tree8f1d6b1938c35ee219c599ffbdbafbf265d8c284 /src/gui/folderman.cpp
parentc0b4c4817cfd858d9a59bb67e4a65a532c1fdfe3 (diff)
Fix crash on missing sync root
Fixes: #9016
Diffstat (limited to 'src/gui/folderman.cpp')
-rw-r--r--src/gui/folderman.cpp4
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