mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
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:
parent
0e9a08cbbf
commit
743c1c2eda
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue