Revert "Backout changeset c42e71e42d7968ddb6c63fd39011669503b9122c"

This reverts commit 040664d3baff905fa9f1b4723b664c1a8d6cf586.
This commit is contained in:
Felix Kauselmann 2018-05-23 17:44:32 +02:00 committed by Luis Ángel San Martín
parent 68ae40fda7
commit cc71f419cc
2 changed files with 473 additions and 438 deletions

View File

@ -381,8 +381,8 @@ Render::Render()
Render::~Render()
{
if (comic != nullptr) {
comic->moveToThread(QApplication::instance()->thread());
if (comic != 0) {
//comic->moveToThread(QApplication::instance()->thread());
comic->deleteLater();
}
@ -607,8 +607,8 @@ void Render::setRotation(int degrees)
void Render::setComic(Comic *c)
{
if (comic != nullptr) {
comic->moveToThread(QApplication::instance()->thread());
if (comic != 0) {
//comic->moveToThread(QApplication::instance()->thread());
comic->disconnect();
comic->deleteLater();
}

File diff suppressed because it is too large Load Diff