Commit df5b9cd4 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Do not set mTextPageReady to true

mTextPageReady is only used for threaded generation and this is a sync one so resetting it to true make very bad things happen
An improvement of this area is needed since it makes no sense canGenerateTextPage returns mTextPageReady when generateTextPage doesn't use itB
BUGS: 297379
FIXED-IN: 4.8.3
(cherry picked from commit c29ce712)
parent 63547acd
...@@ -257,7 +257,6 @@ void Generator::generateTextPage( Page *page ) ...@@ -257,7 +257,6 @@ void Generator::generateTextPage( Page *page )
Q_D( Generator ); Q_D( Generator );
TextPage *tp = textPage( page ); TextPage *tp = textPage( page );
page->setTextPage( tp ); page->setTextPage( tp );
d->mTextPageReady = true;
signalTextGenerationDone( page, tp ); signalTextGenerationDone( page, tp );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment