Slot issues

Tim Wojtulewicz Tim.Wojtulewicz at NAU.EDU
Sat Mar 25 07:53:56 GMT 2000


I have a Qt 2.0 MDI application that I've been working on and have a small
problem with calling slots.

For some reason, when I close a window using the Close keycombo, or the
close menu option, the application will call the slot function, call the
close event function, then try to call the slot function again.
Obviously, because the close event function destroys the windows that's
being closed, the program crashes.

This doesn't happen all of the time.  I have to open a lot of windows and
then try to close them all again.  I haven't been able to pin it down to a
certain number of windows that I have to close.  It just seems to randomly
pick one.

If anyone has any ideas, let me know.

Tim   





More information about the KDevelop mailing list