From e9aa97682c6a16e42ebd2a3362edbddc69fcd8cc Mon Sep 17 00:00:00 2001 From: Dries Mys Date: Tue, 18 Jul 2023 22:49:16 +0200 Subject: [PATCH] Remove warning when querying pin state on non-placeholder file 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 --- src/libsync/vfs/cfapi/vfs_cfapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/vfs/cfapi/vfs_cfapi.cpp b/src/libsync/vfs/cfapi/vfs_cfapi.cpp index 9c32cc829..1c5c3e91c 100644 --- a/src/libsync/vfs/cfapi/vfs_cfapi.cpp +++ b/src/libsync/vfs/cfapi/vfs_cfapi.cpp @@ -320,7 +320,7 @@ Optional 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 {}; } -- 2.39.5