Fixed closeEvent() check + bump version.
This commit is contained in:
parent
dd86f202f9
commit
2c68a972db
@ -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;
|
||||||
|
@ -211,12 +211,9 @@ 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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user