mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Revert "Backout changeset c42e71e42d7968ddb6c63fd39011669503b9122c"
This reverts commit 040664d3baff905fa9f1b4723b664c1a8d6cf586.
This commit is contained in:
parent
68ae40fda7
commit
cc71f419cc
@ -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();
|
||||
}
|
||||
|
903
common/comic.cpp
903
common/comic.cpp
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user