fixed threads leak when a comic is loaded: YACReader(render) and YACReaderLibrary(comiccontroller)

This commit is contained in:
Luis Ángel San Martín
2015-05-30 20:32:22 +02:00
parent e05d2e2a99
commit 7f091a666d
3 changed files with 6 additions and 3 deletions

View File

@ -533,7 +533,6 @@ void FileComic::process()
}*/
emit imagesLoaded();
//moveToThread(QApplication::instance()->thread());
}
@ -622,7 +621,6 @@ void FolderComic::process()
}
}
emit imagesLoaded();
moveToThread(QApplication::instance()->thread());
}
////////////////////////////////////////////////////////////////////////////////
@ -746,7 +744,6 @@ void PDFComic::process()
delete pdfComic;
emit imagesLoaded();
moveToThread(QApplication::instance()->thread());
}
void PDFComic::renderPage(int page)