mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Revert "Thread ping pong"
This commit is contained in:
committed by
GitHub
parent
b906bf964f
commit
0b83764734
@ -57,10 +57,9 @@ void ComicController::service(HttpRequest &request, HttpResponse &response)
|
||||
|
||||
comicFile->moveToThread(thread);
|
||||
|
||||
//connect(comicFile, SIGNAL(errorOpening()), thread, SLOT(quit()));
|
||||
//connect(comicFile, SIGNAL(errorOpening(QString)), thread, SLOT(quit()));
|
||||
//connect(comicFile, SIGNAL(imagesLoaded()), thread, SLOT(quit()));
|
||||
connect(comicFile, SIGNAL(destroyed()), thread, SLOT(quit()));
|
||||
connect(comicFile, SIGNAL(errorOpening()), thread, SLOT(quit()));
|
||||
connect(comicFile, SIGNAL(errorOpening(QString)), thread, SLOT(quit()));
|
||||
connect(comicFile, SIGNAL(imagesLoaded()), thread, SLOT(quit()));
|
||||
connect(thread, SIGNAL(started()), comicFile, SLOT(process()));
|
||||
connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
|
||||
|
||||
|
Reference in New Issue
Block a user