]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Remove warning when querying pin state on non-placeholder file
authorDries Mys <dries.mys@my-dreams.be>
Tue, 18 Jul 2023 20:49:16 +0000 (22:49 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Thu, 20 Jul 2023 11:44:55 +0000 (13:44 +0200)
F.ex. Folder::slotWatchedPathChanged calls this function on non-
placeholder files to check if the ignored file is already assigned an
Excluded pin state. Note that it is allowed to set the pin state to
Excluded on non-placeholder files.

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
src/libsync/vfs/cfapi/vfs_cfapi.cpp

index 9c32cc82937b1c1a59f073fe262f0a9331a72e11..1c5c3e91c6c5182469e5d6f5d0b079b7f829cc13 100644 (file)
@@ -320,7 +320,7 @@ Optional<PinState> VfsCfApi::pinStateLocal(const QString &localPath) const
 {
     const auto info = cfapi::findPlaceholderInfo(localPath);
     if (!info) {
-        qCWarning(lcCfApi) << "Couldn't find pin state for regular non-placeholder file" << localPath;
+        qCDebug(lcCfApi) << "Couldn't find pin state for regular non-placeholder file" << localPath;
         return {};
     }