[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] SOLVED Re: event() gets called but C++ object already deleted
From: Wilbert Berendsen <wbsoft () xs4all ! nl>
Date: 2011-05-25 8:36:52
Message-ID: 201105251036.52388.wbsoft () xs4all ! nl
[Download RAW message or body]
Op woensdag 25 mei 2011 schreef Wilbert:
> The problem is that on Windows, while the application is closing itself,
> event() gets called (with a QActionEvent) while the super() call results in
I solved the crash by giving the action that was set as defaultAction() for
the toolbutton a parent. Deletion is then handled by Qt and now event() is not
called on the wrong moment during the object deletion.
w best regards,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
-- Mahatma Gandhi
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic