One more question to kstaticdelter

Andreas Pakulat apaku at gmx.de
Tue May 1 13:43:29 BST 2007


On 01.05.07 14:10:06, Ingo Klöcker wrote:
> On Tuesday 01 May 2007 11:04, Christian Ehrlicher wrote:
> > >> Yes, that looks like it's the best option.
> > >>
> > >> However, if someone calls the constructor twice, it leaks memory.
> > >> So, something is wrong.
> > >
> > > The constructor is not supposed to be called directly, but only
> > > through self().
> >
> > But this can't be guaranteed because the ctor is not private.
> 
> That seems to be a bug then.

As long as ::instance( QStringList ) stays I think thats fine.

Andreas

-- 
Time to be aggressive.  Go after a tattooed Virgo.




More information about the kde-core-devel mailing list