[Pkg-owncloud-commits] [owncloud-client] 58/171: Fix a missing sync-exclude.lst file not failing the sync
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Feb 17 09:36:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.
commit 2e7a3f9e379ab237105116f6bcf50df269baf62f
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date: Mon Jan 4 16:46:53 2016 +0100
Fix a missing sync-exclude.lst file not failing the sync
After c3cf6aef7dbafb9133903b52c5919eccd4821a25 the invokeMethod calls
should be adjusted to pass the new method arguments.
The result was currently a passing sync with this error message on
the console:
QMetaObject::invokeMethod: No such method OCC::Folder::slotSyncFinished()
---
src/gui/folder.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 2946d19..4f262c2 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -860,7 +860,7 @@ void Folder::startSync(const QStringList &pathList)
if (!_csync_ctx) {
qDebug() << Q_FUNC_INFO << "init failed.";
// the error should already be set
- QMetaObject::invokeMethod(this, "slotSyncFinished", Qt::QueuedConnection);
+ QMetaObject::invokeMethod(this, "slotSyncFinished", Qt::QueuedConnection, Q_ARG(bool, false));
return;
}
} else if (proxyDirty()) {
@@ -888,7 +888,7 @@ void Folder::startSync(const QStringList &pathList)
if (! setIgnoredFiles())
{
slotSyncError(tr("Could not read system exclude file"));
- QMetaObject::invokeMethod(this, "slotSyncFinished", Qt::QueuedConnection);
+ QMetaObject::invokeMethod(this, "slotSyncFinished", Qt::QueuedConnection, Q_ARG(bool, false));
return;
}
--
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