Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Nov 22, 2004 at 09:24:41AM +0100, Lars Gullik Bjønnes wrote: >> | - v->setBottom(LyXLength()); >> | + LyXLength len = LyXLength(); >> >> LyXLength len; > | v->setBottom(LyXLength()) is just fine. > >> | + v->setBottom(glen); >> | + return v; >> | +} >> >> I really dont' like these returning pointers. > | This is 'best Qt practice'. The pointees life time is taken care of by | its parent, and this is set at construction.
One of the but-ugly parts of Qt it seems. -- Lgb