From d89f7c92d4eab357d4263142bdec771e01646e3e Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 29 May 2006 12:49:03 +0000 Subject: [PATCH] fix crash by ending the paint operations when they're done svn path=/branches/work/kde4/playground/graphics/okular/; revision=546187 --- generators/chm/generator_t.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/generators/chm/generator_t.cpp b/generators/chm/generator_t.cpp index e5d169e12..ffc5c803c 100644 --- a/generators/chm/generator_t.cpp +++ b/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 );