From 86a8fb42ca62c62143739905780fb9fbee6765e3 Mon Sep 17 00:00:00 2001 From: q5sys Date: Wed, 30 Mar 2016 13:55:12 -0400 Subject: Update MainUI.h updating close event --- lumina-fm/MainUI.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index 92d1457b..a175f332 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -162,7 +162,11 @@ signals: void Si_AdaptStatusBar(QFileInfoList fileList, QString path, QString messageFolders, QString messageFiles); protected: - void resizeEvent(QResizeEvent*); + void closeEvent(QCloseEvent *ev){ + emit ClientClosed(this); + QMainWindow::closeEvent(ev); + } + }; -- cgit