Update the UI when a comic is updated using the http api

This commit is contained in:
Luis Ángel San Martín
2022-10-15 11:42:46 +02:00
parent 61458b966c
commit e7b6f46cd3
3 changed files with 25 additions and 1 deletions

View File

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