diff --git a/snapshotview.cpp b/snapshotview.cpp --- a/snapshotview.cpp +++ b/snapshotview.cpp @@ -29,3 +29,8 @@ SnapShotView::~SnapShotView() } delete ui; } + +void SnapShotView::closeEvent(QCloseEvent *event) +{ + emit closed(); +}