Kaynağa Gözat

Remove stale commented code

These functions don't even exist anymore.
Christian Kamm 9 yıl önce
ebeveyn
işleme
1b04489887
1 değiştirilmiş dosya ile 0 ekleme ve 5 silme
  1. 0 5
      src/gui/folder.cpp

+ 0 - 5
src/gui/folder.cpp

@@ -758,8 +758,6 @@ void Folder::startSync(const QStringList &pathList)
 
     QMetaObject::invokeMethod(_engine.data(), "startSync", Qt::QueuedConnection);
 
-    // disable events until syncing is done
-    // _watcher->setEventsEnabled(false);
     emit syncStarted();
 }
 
@@ -823,9 +821,6 @@ void Folder::slotSyncFinished(bool success)
     bubbleUpSyncResult();
 
     bool anotherSyncNeeded = _engine->isAnotherSyncNeeded();
-    // _watcher->setEventsEnabledDelayed(2000);
-
-
 
     if (_csyncError) {
         _syncResult.setStatus(SyncResult::Error);