From adce8459b83cd7494dbc4c552c5079dc22e68a54 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 22 Nov 2011 18:38:16 +0100 Subject: Clean out ftp code to easily add in the future new sync implementations --- src/sync/syncwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sync/syncwidget.cpp') diff --git a/src/sync/syncwidget.cpp b/src/sync/syncwidget.cpp index a7adfd3d..f1e79da6 100644 --- a/src/sync/syncwidget.cpp +++ b/src/sync/syncwidget.cpp @@ -80,7 +80,7 @@ void SyncWidget::save() ReKonfig::setSyncPath(kcfg_syncPath->text()); ReKonfig::setSyncPort(kcfg_syncPort->value()); - rApp->syncManager()->firstTimeSync(); + rApp->syncManager()->resetSyncer(); } @@ -118,7 +118,7 @@ void SyncWidget::setSyncLabel(const QDateTime &dt) void SyncWidget::syncNow() { - rApp->syncManager()->firstTimeSync(); + rApp->syncManager()->resetSyncer(); // TODO do something in the sync UI... } -- cgit v1.2.1