mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Ignore changes on .owncloudsync.log in the linux filewatcher.
Also remove some verbose and unused logging.
This commit is contained in:
parent
af3af94a01
commit
7c40dc1a9a
1 changed files with 4 additions and 3 deletions
|
@ -170,9 +170,10 @@ void FolderWatcherPrivate::slotReceivedNotification(int fd)
|
|||
// Note: The name of the changed file and stuff could be taken from
|
||||
// the event data structure. That does not happen yet.
|
||||
if (event->len > 0 && event->wd > -1) {
|
||||
qDebug() << Q_FUNC_INFO << event->name;
|
||||
if (QByteArray(event->name).startsWith(".csync")) {
|
||||
qDebug() << "ignore journal";
|
||||
// qDebug() << Q_FUNC_INFO << event->name;
|
||||
if (QByteArray(event->name).startsWith(".csync") ||
|
||||
QByteArray(event->name) == ".owncloudsync.log") {
|
||||
// qDebug() << "ignore journal";
|
||||
} else {
|
||||
const QString p = _watches[event->wd];
|
||||
_parent->changeDetected(p);
|
||||
|
|
Loading…
Reference in a new issue