I am getting this error:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc


So I put:

def notify(self, receiver, event):

I want to see what function is throwing the exception and what the exception
is. What do I have to put in the notify function to do this?
-- 
View this message in context: 
http://old.nabble.com/how-to-implement-QApplication.notify%28%29-tp27500575p27500575.html
Sent from the PyQt mailing list archive at Nabble.com.

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to