Remove thread pingpong

This commit is contained in:
Felix Kauselmann
2018-02-20 11:16:47 +01:00
parent e5d2d40d8c
commit cc72d30f5b
2 changed files with 29 additions and 29 deletions

View File

@ -417,7 +417,7 @@ Render::~Render()
{
if(comic!=0)
{
comic->moveToThread(QApplication::instance()->thread());
//comic->moveToThread(QApplication::instance()->thread());
comic->deleteLater();
}
@ -679,7 +679,7 @@ void Render::setComic(Comic * c)
{
if(comic !=0)
{
comic->moveToThread(QApplication::instance()->thread());
//comic->moveToThread(QApplication::instance()->thread());
comic->disconnect();
comic->deleteLater();
}