[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KHelpMenu and QPopMenu pointer destruction
From: Espen Sand <espen.sand () neo ! no>
Date: 1999-10-28 14:07:12
[Download RAW message or body]
On tor, 28 okt 1999, Simon Hausmann wrote:
>Do I get you right that you have the problem of determining if the
>popupmenu was already deleted, if the KHelpMenu destructor is run?
>
Partly, but this can be secured by the QObject::destroyed () signal I think.
>
>Then use a QGuardedPtr on the popupmenu!
>
Never used that one, but from the docs it seems this can be usedful. Is there a
potential crash problem if the pointer is destroyed while the KMenuBar object
still exists?
--
Espen Sand
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic