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;
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user