Index: kmail/khtmlparthtmlwriter.cpp
===================================================================
--- kmail/khtmlparthtmlwriter.cpp	(wersja 829234)
+++ kmail/khtmlparthtmlwriter.cpp	(kopia robocza)
@@ -115,6 +115,10 @@
   }
 
   void KHtmlPartHtmlWriter::flush() {
+    while ( !mHtmlQueue.empty() )
+      QCoreApplication::processEvents();
+      mHtmlPart->write( mHtmlQueue.takeFirst() );
+    }
     slotWriteNextHtmlChunk();
   }
 
