mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Revert "Backout changeset c42e71e42d7968ddb6c63fd39011669503b9122c"
This reverts commit 040664d3ba
.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
68ae40fda7
commit
cc71f419cc
@ -381,8 +381,8 @@ Render::Render()
|
|||||||
|
|
||||||
Render::~Render()
|
Render::~Render()
|
||||||
{
|
{
|
||||||
if (comic != nullptr) {
|
if (comic != 0) {
|
||||||
comic->moveToThread(QApplication::instance()->thread());
|
//comic->moveToThread(QApplication::instance()->thread());
|
||||||
comic->deleteLater();
|
comic->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -607,8 +607,8 @@ void Render::setRotation(int degrees)
|
|||||||
|
|
||||||
void Render::setComic(Comic *c)
|
void Render::setComic(Comic *c)
|
||||||
{
|
{
|
||||||
if (comic != nullptr) {
|
if (comic != 0) {
|
||||||
comic->moveToThread(QApplication::instance()->thread());
|
//comic->moveToThread(QApplication::instance()->thread());
|
||||||
comic->disconnect();
|
comic->disconnect();
|
||||||
comic->deleteLater();
|
comic->deleteLater();
|
||||||
}
|
}
|
||||||
|
903
common/comic.cpp
903
common/comic.cpp
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user