SocketAPI: Send an UPDATE_VIEW to the shell plugin on connect.

For each configured sync folder send an UPDATE_VIEW directly after
the socket connect to make the shell integration updating the view.
This commit is contained in:
Klaas Freitag 2014-07-15 17:55:55 +02:00
parent 0e9a08cbbf
commit 743c1c2eda

View file

@ -189,6 +189,10 @@ void SocketApi::slotNewConnection()
Q_ASSERT(socket->readAll().isEmpty());
_listeners.append(socket);
foreach( QString alias, FolderMan::instance()->map().keys() ) {
slotUpdateFolderView(alias);
}
}
void SocketApi::onLostConnection()