[Kde-pim] [patch] kdepim/kdgantt1 - Appointment not in visible range

Jaroslaw Staniek js at iidea.pl
Wed Jul 16 13:23:56 BST 2008


David Faure said the following, On 2008-07-16 13:03:
> On Wednesday 16 July 2008, Jaroslaw Staniek wrote:
>> for review
>>
>> Description:
>> http://intevation.de/roundup/kolab/issue2881
>>
>> The fix is basically about porting virtual show() to Qt4's showEvent().
>> KDGanttView::show() was never called, and thus neither was centerTimeline(), 
>> so the view was not centered on the appointment initially.
>>
>> I did the same change for close()/closeEvent() BTW.
> 
> When porting from show to showEvent, one should add if (!event->isSpontaneous()) { ... }
> 

Thanks for the note, attached updated patch.

-- 
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: appointment_not_visible2.patch
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080716/1fc091c5/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