Update the UI when a client synchronizes back the libraries

Only the top banners for now. 

TODO: ComicModel should also be updated.
This commit is contained in:
Luis Ángel San Martín
2022-10-15 11:52:34 +02:00
parent e7b6f46cd3
commit d8a35d767c
7 changed files with 12 additions and 0 deletions

View File

@ -257,6 +257,7 @@ int main(int argc, char **argv)
mw->connect(localServer, &YACReaderLocalServer::comicUpdated, mw, &LibraryWindow::updateViewsOnComicUpdate, Qt::QueuedConnection);
mw->connect(httpServer, &YACReaderHttpServer::comicUpdated, mw, &LibraryWindow::updateViewsOnComicUpdateWithId, Qt::QueuedConnection);
mw->connect(httpServer, &YACReaderHttpServer::clientSync, mw, &LibraryWindow::updateViewsOnClientSync, Qt::QueuedConnection);
// connections to localServer
// start as tray