On Monday, 28. May 2001 00:06 (GMT +0200), Martijn Klingens wrote: > On Sunday 27 May 2001 21:20, Stephan Oehlert wrote: > > Hi > > > > Kevin, this did not work. But if you use > > listView =3D new KListView(this); > > instead of > > KListView* listView =3D new KListView(); > > then everything is fine. Do you know why? > > Because leaving out the parent would give a widget a parent of 0 (NULL)= =2E > The result is that the widget gets its own window (and only after show(= ) > has been manually called). Yes, sorry about that. I should be more careful when giving examples. bye, Kevin --=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Krammer Developer at the Kmud Project http://www.kmud.de/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<