Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-03-17 14:34:51 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-03-17 14:34:51 +0400
commit7b482c0e9656453aeb58b98c70618b59e3bdf6fb (patch)
treecec1bf0c9ebf17467a99de33980121da407be47a /src/owncloudcmd
parentbf5091d862749ff9978d38ab552e4f44ad99b08f (diff)
Rename CSyncThread to SyncEngine
CSyncThread has not been a thread for a long time now
Diffstat (limited to 'src/owncloudcmd')
-rw-r--r--src/owncloudcmd/owncloudcmd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index a09056c08..b54806381 100644
--- a/src/owncloudcmd/owncloudcmd.cpp
+++ b/src/owncloudcmd/owncloudcmd.cpp
@@ -22,7 +22,7 @@
#include <neon/ne_socket.h>
-#include "csyncthread.h"
+#include "syncengine.h"
#include <syncjournaldb.h>
#include "logger.h"
#include "csync.h"
@@ -208,10 +208,10 @@ int main(int argc, char **argv) {
OwncloudCmd owncloudCmd;
SyncJournalDb db(options.source_dir);
- CSyncThread csyncthread(_csync_ctx, options.source_dir, QUrl(options.target_url).path(), folder, &db);
- QObject::connect(&csyncthread, SIGNAL(finished()), &app, SLOT(quit()));
- QObject::connect(&csyncthread, SIGNAL(transmissionProgress(Progress::Info)), &owncloudCmd, SLOT(transmissionProgressSlot()));
- csyncthread.startSync();
+ SyncEngine engine(_csync_ctx, options.source_dir, QUrl(options.target_url).path(), folder, &db);
+ QObject::connect(&engine, SIGNAL(finished()), &app, SLOT(quit()));
+ QObject::connect(&engine, SIGNAL(transmissionProgress(Progress::Info)), &owncloudCmd, SLOT(transmissionProgressSlot()));
+ engine.startSync();
app.exec();