aaron
19th July 2009, 07:43
Hi all,
I have a new question need you help.
In the mainwindow, I have a button to close a sub-window, and its shortcut is "ctrl + w"
when I click this button, the program works ok, but if I use its shortcut, there is an information:
"QObject: Do not delete object, 'unname' , during its event handler" .When I close this sub-window, I will delete some object to release memory, when delete the object which inherits QGraphicsView, this information will occur.
If you have some addvice, please help me ,thanks!
I have a new question need you help.
In the mainwindow, I have a button to close a sub-window, and its shortcut is "ctrl + w"
when I click this button, the program works ok, but if I use its shortcut, there is an information:
"QObject: Do not delete object, 'unname' , during its event handler" .When I close this sub-window, I will delete some object to release memory, when delete the object which inherits QGraphicsView, this information will occur.
If you have some addvice, please help me ,thanks!