mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Remove thread pingpong
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user