[Pkg-owncloud-commits] [owncloud-client] 79/470: Fix a crash when syncing

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:24:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 49f00499f7013eb66569bfea456b165139a48921
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Fri Feb 26 18:05:04 2016 +0100

    Fix a crash when syncing
---
 src/gui/folder.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 8f9744d..4a68c62 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -831,11 +831,9 @@ void Folder::startSync(const QStringList &pathList)
     qDebug() << "*** Start syncing " << remoteUrl().toString() << " - client version"
              << qPrintable(Theme::instance()->version());
 
+    _engine.reset(new SyncEngine( _accountState->account(), path(), remoteUrl(), remotePath(), &_journal));
     // pass the setting if hidden files are to be ignored, will be read in csync_update
     _engine->setIgnoreHiddenFiles(_definition.ignoreHiddenFiles);
-    // _csync_ctx->ignore_hidden_files = _definition.ignoreHiddenFiles;
-
-    _engine.reset(new SyncEngine( _accountState->account(), path(), remoteUrl(), remotePath(), &_journal));
 
     if (!setIgnoredFiles())
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list