[Pkg-owncloud-commits] [owncloud-client] 259/332: SocketAPI: Create the socket API instance in folderman.

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 68bfcf5d24df493c4de241e8b1e07aa94ef6dee0
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Jul 14 15:31:38 2014 +0200

    SocketAPI: Create the socket API instance in folderman.
---
 src/mirall/folderman.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mirall/folderman.cpp b/src/mirall/folderman.cpp
index 5729c4d..5dd3fc6 100644
--- a/src/mirall/folderman.cpp
+++ b/src/mirall/folderman.cpp
@@ -48,6 +48,9 @@ FolderMan::FolderMan(QObject *parent) :
     connect(_folderWatcherSignalMapper, SIGNAL(mapped(const QString&)),
             this, SLOT(slotScheduleSync(const QString&)));
 
+    MirallConfigFile cfg;
+    _socketApi = new SocketApi(this, QUrl::fromLocalFile(cfg.configPathWithAppName().append(QLatin1String("socket"))));
+
     ne_sock_init();
     Q_ASSERT(!_instance);
     _instance = this;

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