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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Weilbach <felix.weilbach@nextcloud.com>2021-09-06 14:00:28 +0300
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>2021-09-06 18:54:44 +0300
commit031b2e0683daba0ca1c1444227522e4effdcbf98 (patch)
treefce73713d4b66fc363d33bda3f83f313b907a628 /src/libsync
parent8385eeeab2c5b167ee3d9bc9e75a6014d5f5358f (diff)
Remove assert that caues crashes
This assert does not add value. Utility::concatUrlPath() takes care of appending paths correctly. Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'src/libsync')
-rw-r--r--src/libsync/abstractnetworkjob.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsync/abstractnetworkjob.cpp b/src/libsync/abstractnetworkjob.cpp
index c00417169..be9c01c93 100644
--- a/src/libsync/abstractnetworkjob.cpp
+++ b/src/libsync/abstractnetworkjob.cpp
@@ -154,8 +154,6 @@ QUrl AbstractNetworkJob::makeAccountUrl(const QString &relativePath) const
QUrl AbstractNetworkJob::makeDavUrl(const QString &relativePath) const
{
- // ensure we always used the remote folder
- ASSERT(relativePath.startsWith(QLatin1Char('/')))
return Utility::concatUrlPath(_account->davUrl(), relativePath);
}