瀏覽代碼

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 <dries.mys@my-dreams.be>
Dries Mys 2 年之前
父節點
當前提交
6ac29eea2c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/libsync/vfs/cfapi/vfs_cfapi.cpp

+ 1 - 1
src/libsync/vfs/cfapi/vfs_cfapi.cpp

@@ -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 {};
     }