[Pkg-owncloud-commits] [owncloud-client] 260/332: SocketAPI: rename slot to send UPDATE_VIEW.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:09 UTC 2014


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 3c09ef6cbff9ebe7b2d3607c5ebae7511daad679
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Jul 15 13:34:32 2014 +0200

    SocketAPI: rename slot to send UPDATE_VIEW.
---
 src/mirall/folderman.cpp | 1 -
 src/mirall/socketapi.cpp | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mirall/folderman.cpp b/src/mirall/folderman.cpp
index 5dd3fc6..e513280 100644
--- a/src/mirall/folderman.cpp
+++ b/src/mirall/folderman.cpp
@@ -49,7 +49,6 @@ FolderMan::FolderMan(QObject *parent) :
             this, SLOT(slotScheduleSync(const QString&)));
 
     MirallConfigFile cfg;
-    _socketApi = new SocketApi(this, QUrl::fromLocalFile(cfg.configPathWithAppName().append(QLatin1String("socket"))));
 
     ne_sock_init();
     Q_ASSERT(!_instance);
diff --git a/src/mirall/socketapi.cpp b/src/mirall/socketapi.cpp
index b5f9fcf..6198bc1 100644
--- a/src/mirall/socketapi.cpp
+++ b/src/mirall/socketapi.cpp
@@ -183,7 +183,7 @@ SocketApi::SocketApi(QObject* parent)
     connect(_localServer, SIGNAL(newConnection()), this, SLOT(slotNewConnection()));
 
     // folder watcher
-    connect(FolderMan::instance(), SIGNAL(folderSyncStateChange(QString)), SLOT(slotSyncStateChanged(QString)));
+    connect(FolderMan::instance(), SIGNAL(folderSyncStateChange(QString)), this, SLOT(slotUpdateFolderView(QString)));
     connect(ProgressDispatcher::instance(), SIGNAL(jobCompleted(QString,SyncFileItem)),
             SLOT(slotJobCompleted(QString,SyncFileItem)));
 }

-- 
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