diff --git a/snapshotview.cpp b/snapshotview.cpp --- a/snapshotview.cpp +++ b/snapshotview.cpp @@ -34,5 +34,6 @@ SnapShotView::~SnapShotView() void SnapShotView::closeEvent(QCloseEvent *event) { + QMainWindow::closeEvent(event); emit closed(); }