mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
SocketAPI: Create the socket API instance in folderman.
This commit is contained in:
parent
b2a10de71a
commit
68bfcf5d24
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue