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:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-03-18 20:14:01 +0300
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>2021-06-16 13:54:07 +0300
commit22c634935bcadcf100cb9eef1e60ed5f501c7eb3 (patch)
tree7102d6f9157c204c80485305022176dcefac2bc4 /src/common
parent03182ea714be4c6fc5c4e16dd193d268e11cd1d0 (diff)
Run expansive assert only in dev builds
Diffstat (limited to 'src/common')
-rw-r--r--src/common/filesystembase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/filesystembase.cpp b/src/common/filesystembase.cpp
index 5eb9dbd29..78c94fe77 100644
--- a/src/common/filesystembase.cpp
+++ b/src/common/filesystembase.cpp
@@ -504,7 +504,7 @@ bool FileSystem::isJunction(const QString &filename)
#ifdef Q_OS_WIN
QString FileSystem::pathtoUNC(const QString &_str)
{
- ASSERT(QFileInfo(_str).isAbsolute());
+ Q_ASSERT(QFileInfo(_str).isAbsolute());
if (_str.isEmpty()) {
return _str;
}