diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 8957ab3a90..d142f7dcdf 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -377,7 +377,7 @@ void GuiCharacterDialog::change_adaptor() void GuiCharacterDialog::closeEvent(QCloseEvent * e) { slotClose(); - e->accept(); + GuiDialog::closeEvent(e); } diff --git a/src/frontends/qt4/GuiCitation.cpp b/src/frontends/qt4/GuiCitation.cpp index cbb72edabb..6838530e36 100644 --- a/src/frontends/qt4/GuiCitation.cpp +++ b/src/frontends/qt4/GuiCitation.cpp @@ -120,7 +120,7 @@ void GuiCitationDialog::closeEvent(QCloseEvent * e) { clearSelection(); controller().clearParams(); - e->accept(); + GuiDialog::closeEvent(e); } diff --git a/src/frontends/qt4/GuiGraphics.cpp b/src/frontends/qt4/GuiGraphics.cpp index 283f3f56f6..8c5c9c097e 100644 --- a/src/frontends/qt4/GuiGraphics.cpp +++ b/src/frontends/qt4/GuiGraphics.cpp @@ -277,7 +277,7 @@ void GuiGraphicsDialog::change_bb() void GuiGraphicsDialog::closeEvent(QCloseEvent * e) { slotClose(); - e->accept(); + GuiDialog::closeEvent(e); } diff --git a/src/frontends/qt4/GuiRef.cpp b/src/frontends/qt4/GuiRef.cpp index cdb6e59c94..5748cee39b 100644 --- a/src/frontends/qt4/GuiRef.cpp +++ b/src/frontends/qt4/GuiRef.cpp @@ -183,7 +183,7 @@ void GuiRefDialog::closeEvent(QCloseEvent * e) { slotClose(); reset_dialog(); - e->accept(); + GuiDialog::closeEvent(e); } diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index cca86d5a59..7c0338a33f 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -161,7 +161,7 @@ void GuiTabularDialog::change_adaptor() void GuiTabularDialog::closeEvent(QCloseEvent * e) { slotClose(); - e->accept(); + GuiDialog::closeEvent(e); } diff --git a/src/frontends/qt4/GuiThesaurus.cpp b/src/frontends/qt4/GuiThesaurus.cpp index 8db29843a8..de513e6968 100644 --- a/src/frontends/qt4/GuiThesaurus.cpp +++ b/src/frontends/qt4/GuiThesaurus.cpp @@ -78,7 +78,7 @@ void GuiThesaurusDialog::change_adaptor() void GuiThesaurusDialog::closeEvent(QCloseEvent * e) { slotClose(); - e->accept(); + GuiDialog::closeEvent(e); }