Suspicious code in kdevelop-3.3.2

Matt Rogers mattr at kde.org
Sun Apr 9 07:30:07 UTC 2006


On Sunday 09 April 2006 00:07, Christoph Bartoschek wrote:
> Am Sonntag, 9. April 2006 06:30 schrieb Matt Rogers:
> > > - parts/filelist/projectviewpart.cpp:377 !!! (at least strange style)
> > > - parts/filelist/projectviewpart.cpp:474 !!! (at least strange style)
> >
> > contains does not return a boolean type, so there is nothing to fix.
>
> http://doc.trolltech.com/3.3/qmap.html#contains
>
> Christoph
>

oh, maps. forgot about those. true, those return bool. contains for QValueList 
and QPtrList don't return bool though and that's what i looked at the docs 
for. :)
--
Matt




More information about the KDevelop-devel mailing list