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>2020-07-10 11:23:59 +0300
committerHannah von Reth <vonreth@kde.org>2020-07-14 14:34:20 +0300
commit3dc01c60939ac56ca6e6e96c297752c558fe9dd0 (patch)
treea9c00d7baa7431b9bba75bea1af8d3c595a5e344 /src/gui/folderwatcher.cpp
parent3e16df4b0cd7f285c88a0ba6d5aef9b81a89becd (diff)
Remove OWNCLOUD_TEST define handling
Since we link the core into the tests the define has no effect.
Diffstat (limited to 'src/gui/folderwatcher.cpp')
-rw-r--r--src/gui/folderwatcher.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/folderwatcher.cpp b/src/gui/folderwatcher.cpp
index 083ff2088..fed54bdb3 100644
--- a/src/gui/folderwatcher.cpp
+++ b/src/gui/folderwatcher.cpp
@@ -61,13 +61,10 @@ bool FolderWatcher::pathIsIgnored(const QString &path)
return true;
if (!_folder)
return false;
-
-#ifndef OWNCLOUD_TEST
if (_folder->isFileExcludedAbsolute(path) && !Utility::isConflictFile(path)) {
qCDebug(lcFolderWatcher) << "* Ignoring file" << path;
return true;
}
-#endif
return false;
}