From 2c68a972db14b291857bb35e62550697fdfe449b Mon Sep 17 00:00:00 2001 From: MuldeR Date: Thu, 16 Jan 2014 02:16:13 +0100 Subject: [PATCH] Fixed closeEvent() check + bump version. --- src/Config.h | 2 +- src/MainWindow.cpp | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Config.h b/src/Config.h index 6b40c52..39c4822 100644 --- a/src/Config.h +++ b/src/Config.h @@ -21,7 +21,7 @@ //Version static unsigned int mixp_versionMajor = 2; -static unsigned int mixp_versionMinor = 7; +static unsigned int mixp_versionMinor = 8; //MediaInfo Version static unsigned int mixp_miVersionMajor = 0; diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 9354472..c3406a7 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -211,12 +211,9 @@ void CMainWindow::showEvent(QShowEvent *event) void CMainWindow::closeEvent(QCloseEvent *event) { - if(m_process) + if(!APPLICATION_IS_IDLE) { - if(!APPLICATION_IS_IDLE) - { - event->ignore(); - } + event->ignore(); } }