[PATCH] Fix KApplication for non-gui apps

George Staikos staikos at kde.org
Thu Feb 17 22:52:26 GMT 2005


On Thursday 17 February 2005 16:47, George Staikos wrote:
> 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.

  What a day.  -correct- patch 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: 5344 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050217/309e0a4d/attachment.patch>


More information about the kde-core-devel mailing list