[Kde-pim] [patch] Printing emails

Jaroslaw Staniek js at iidea.pl
Mon Jul 7 22:32:59 BST 2008


Possible fix for [1] (Windows).
For review.

The code (before patching) works on Linux (?) only by accident, I guess 
(probably thanks to different strategy of handling QTimers with 0 delay [2]).

Explanation: KMReaderWin::printMsg() _can_ be executed before the timer 
handling slotWriteNextHtmlChunk() finishes. And it is, on Windows.
Another place where usign timers looks unfortunate..

[1] http://intevation.de/roundup/kolab/issue2647
[2] mHtmlTimer.start( 0 );

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: KHtmlPartHtmlWriter.patch
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080707/cf7ed249/attachment.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list