Re: Capturing close events
Marius Kjeldahl <[email protected]> Tue, 21 Mar 2006 19:11:50 +0100
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
Marius Kjeldahl wrote: > Would you mind testing a "parentWidget()" call or any other method defined in > QWidget which would use the implicit this pointer? I use parentWidget other > places in my source without any trouble, but in the close/closeEvent methods it > seems the implicit this pointer is not set correctly. Never mind, my bad. parentWidget did not exist for some windows in my application because I explicitely created them as stand-alone windows. Storing the pointer back to the "owner" separately should solve it. Marius K.