Skip to content

Commit

Permalink
SyncEngine: remove SyncEngine::syncItemDiscovered
Browse files Browse the repository at this point in the history
It is unused.
  • Loading branch information
ogoffart committed Oct 24, 2017
1 parent c6bd3ab commit 35d2829
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/libsync/syncengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ int SyncEngine::treewalkFile(csync_file_stat_t *file, csync_file_stat_t *other,
dir = SyncFileItem::None;
// For directories, metadata-only updates will be done after all their files are propagated.
if (!isDirectory) {
emit syncItemDiscovered(*item);

// Update the database now already: New remote fileid or Etag or RemotePerm
// Or for files that were detected as "resolved conflict".
Expand Down Expand Up @@ -683,8 +682,6 @@ int SyncEngine::treewalkFile(csync_file_stat_t *file, csync_file_stat_t *other,
}

_syncItemMap.insert(key, item);

emit syncItemDiscovered(*item);
return re;
}

Expand Down
2 changes: 0 additions & 2 deletions src/libsync/syncengine.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ class OWNCLOUDSYNC_EXPORT SyncEngine : public QObject
// During update, before reconcile
void rootEtag(QString);

// before actual syncing (after update+reconcile) for each item
void syncItemDiscovered(const SyncFileItem &);
// after the above signals. with the items that actually need propagating
void aboutToPropagate(SyncFileItemVector &);

Expand Down

0 comments on commit 35d2829

Please sign in to comment.