Skip to content

Commit

Permalink
Remove warning when querying pin state on non-placeholder file
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
m7913d authored and mgallien committed Jul 20, 2023
1 parent 76376aa commit e9aa976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/vfs/cfapi/vfs_cfapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
}

Expand Down

0 comments on commit e9aa976

Please sign in to comment.