Problem with applications which have a system tray applet and secondary windows

Jason Keirstead jason at keirstead.org
Mon Dec 8 23:56:50 GMT 2003


On December 08, 2003 07:48 pm, Jason Keirstead wrote:
> On Monday 08 December 2003 23:16, Ingo Klöcker wrote:
> > What you did is that you reimplemented KMainWindow::closeEvent() in
> > KopeteChatWindow so that kapp->deref() isn't called anymore.
>
> On December 08, 2003 06:36 pm, Martijn Klingens wrote:
> > I honestly didn't know that... I thought we only had our own closeEvent
> > in the main window, but not in the chat window. I stand corrected then,
> > but then I also can't help you any further. Sorry.
> >
> > This refcounting already bit me a couple of times, seems like this time
> > it's you.
>
> Can't we just add that deref() call into our reimplemented closeEvent ?

Argh, please ignore this message, I got confused between this thread and
another one I was reading around the same time.

-- 
There's no place like 127.0.0.1

http://www.keirstead.org



More information about the kde-core-devel mailing list