SocketAPI: rename slot to send UPDATE_VIEW.

This commit is contained in:
Klaas Freitag 2014-07-15 13:34:32 +02:00
parent 68bfcf5d24
commit 3c09ef6cbf
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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)));
}