fix crash by ending the paint operations when they're done

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546187
remotes/origin/old/work/newpageview
Pino Toscano 20 years ago
parent fedf49f089
commit d89f7c92d4
  1. 1
      generators/chm/generator_t.cpp

@ -97,6 +97,7 @@ void TGenerator::slotCompleted()
bool moreToPaint;
// m_syncGen->view()->layout();
m_syncGen->paint(&p, r,0,&moreToPaint);
p.end();
additionalRequestData();
syncLock.unlock();
m_request->page->setPixmap( m_request->id, pix );

Loading…
Cancel
Save