# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-09-20 11:10:44 # Node ID b616fb48842c7d2ec87eeccb1dd81ca24f7918ba # Parent e421d52f198e00cc9c9a03d45de6c5a215349b15 call the inherited implementation of closeEvent 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(); }