[PATCH] Fix KApplication for non-gui apps

George Staikos staikos at kde.org
Thu Feb 17 21:47:45 GMT 2005


On Thursday 17 February 2005 06:09, Waldo Bastian wrote:
> Something like:
>
>   struct oldPixmapType { QPixmap a; QPixmap b; };
>   union {
>      struct { QPixmap *icon; QPixmap *miniIcon; } pm;
>      char padding[sizeof(oldPixmapType)];
>   } aIconPixmap;
>

   Can someone test sizeof(KApplication) with and without this patch on 64bit 
hardware to see if they are the same or not?  Diff is attached.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixkappnongui.patch
Type: text/x-diff
Size: 508 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050217/5e7e5151/attachment.patch>


More information about the kde-core-devel mailing list