Fixed closeEvent() check + bump version.

This commit is contained in:
LoRd_MuldeR 2014-01-16 02:16:13 +01:00
parent dd86f202f9
commit 2c68a972db
2 changed files with 3 additions and 6 deletions

View File

@ -21,7 +21,7 @@
//Version //Version
static unsigned int mixp_versionMajor = 2; static unsigned int mixp_versionMajor = 2;
static unsigned int mixp_versionMinor = 7; static unsigned int mixp_versionMinor = 8;
//MediaInfo Version //MediaInfo Version
static unsigned int mixp_miVersionMajor = 0; static unsigned int mixp_miVersionMajor = 0;

View File

@ -210,15 +210,12 @@ void CMainWindow::showEvent(QShowEvent *event)
} }
void CMainWindow::closeEvent(QCloseEvent *event) void CMainWindow::closeEvent(QCloseEvent *event)
{
if(m_process)
{ {
if(!APPLICATION_IS_IDLE) if(!APPLICATION_IS_IDLE)
{ {
event->ignore(); event->ignore();
} }
} }
}
void CMainWindow::resizeEvent(QResizeEvent *event) void CMainWindow::resizeEvent(QResizeEvent *event)
{ {