[Qt-interest] Application crashing after deleting
Andreas Unger
andi.unger05 at gmail.com
Sat Sep 26 22:33:27 CEST 2009
ok. I used deletelater() which now works.
Regards,
Ernest
On Sat, Sep 26, 2009 at 2:30 PM, Andreas Unger <andi.unger05 at gmail.com>wrote:
> Hi all,
>
> I have a bunch of items on a QGraphicsView. Most of these items have
> buttons on them. In the slots corresponding to the various buttons, I call a
> method in a separate manager class which deletes some of the widgets on the
> main window. However, for some reason, I cannot delete the widget containing
> the button that was last clicked. Why is this case? How can I make sure that
> this widget is deleted as well?
>
> Cheers,
> Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090926/4bec7191/attachment.html
More information about the Qt-interest-old
mailing list