Comic: Virtual prototype for process(), fix signal/slot

This commit is contained in:
Felix Kauselmann
2021-06-03 14:20:32 +02:00
parent 8377de7c3e
commit f813a018d2
5 changed files with 5 additions and 4 deletions

View File

@ -751,7 +751,7 @@ void Render::startLoad()
connect(comic, &Comic::imagesLoaded, thread, &QThread::quit, Qt::QueuedConnection);
connect(comic, SIGNAL(destroyed()), thread, SLOT(quit()), Qt::QueuedConnection);
connect(comic, &Comic::invalidated, thread, &QThread::quit, Qt::QueuedConnection);
connect(thread, SIGNAL(started()), comic, SLOT(process()));
connect(thread, &QThread::started, comic, &Comic::process);
connect(thread, &QThread::finished, thread, &QObject::deleteLater);
if (thread != nullptr)