Просмотр исходного кода

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 лет назад
Родитель
Сommit
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 {};
     }