From: Kevin Ottens Date: Thu, 22 Oct 2020 11:17:52 +0000 (+0200) Subject: Also output the event flags in the debug logs X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~88^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8fad88055e4034760af217f666ce84bc10680225;p=nextcloud-desktop.git Also output the event flags in the debug logs When we skip a watcher event on mac, we log the file path but not the event flags which came with it. Let's add it, it should help figure out what's going on with #2578. Signed-off-by: Kevin Ottens --- diff --git a/src/gui/folderwatcher_mac.cpp b/src/gui/folderwatcher_mac.cpp index 5a2c73c0d..988d20377 100644 --- a/src/gui/folderwatcher_mac.cpp +++ b/src/gui/folderwatcher_mac.cpp @@ -72,7 +72,7 @@ static void callback( QString fn = qstring.normalized(QString::NormalizationForm_C); if (!(eventFlags[i] & c_interestingFlags)) { - qCDebug(lcFolderWatcher) << "Ignoring non-content changes for" << fn; + qCDebug(lcFolderWatcher) << "Ignoring non-content changes for" << fn << eventFlags[i]; continue; }