[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: koffice/libs/flake/tests
From:       Thomas Zander <zander () kde ! org>
Date:       2008-08-18 11:55:55
Message-ID: 200808181401.59521.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 18. August 2008 13:00:50 Jan Hambrecht wrote:
> if( selection->count() )
>      selection->firstSelectedShape()->doSomething();

Right,

I never accounted for the usecase where there was a group object in the 
selection, but the group object didn't actually have any children.

I'm preparing a patch to make count() return what you expect.

Thanks for your quick reply!

-- 
Thomas Zander

["signature.asc" (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic