mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Clazy: Use fixits to refactor some old style signal connections
This commit is contained in:
@ -63,9 +63,9 @@ void ComicController::service(HttpRequest &request, HttpResponse &response)
|
||||
|
||||
connect(comicFile, SIGNAL(errorOpening()), thread, SLOT(quit()));
|
||||
connect(comicFile, SIGNAL(errorOpening(QString)), thread, SLOT(quit()));
|
||||
connect(comicFile, SIGNAL(imagesLoaded()), thread, SLOT(quit()));
|
||||
connect(comicFile, &Comic::imagesLoaded, thread, &QThread::quit);
|
||||
connect(thread, SIGNAL(started()), comicFile, SLOT(process()));
|
||||
connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
|
||||
connect(thread, &QThread::finished, thread, &QObject::deleteLater);
|
||||
|
||||
comicFile->load(libraries.getPath(libraryId) + comic.path);
|
||||
|
||||
|
Reference in New Issue
Block a user