I am opening a QDialog/QMessageBox using exec() to get user input. But before the user selects Save or Discard from the message box, the parent window from which it was opened is closed.
When this happens the application crashed.
Can the QDialog/QMessageBox be closed when the parent is closed. ?
Aucun commentaire:
Enregistrer un commentaire