Always show Tape's window on Mac OS when the app starts, even when is empty.
--HG-- branch : develop
This commit is contained in:
parent
1ccb8f3452
commit
61eec32420
|
@ -420,8 +420,6 @@ bool MApplication::event(QEvent *e)
|
||||||
case QEvent::ApplicationActivate:
|
case QEvent::ApplicationActivate:
|
||||||
{
|
{
|
||||||
Clean();
|
Clean();
|
||||||
if (!mainWindows.isEmpty())
|
|
||||||
{
|
|
||||||
TMainWindow *mw = MainWindow();
|
TMainWindow *mw = MainWindow();
|
||||||
if (mw && not mw->isMinimized())
|
if (mw && not mw->isMinimized())
|
||||||
{
|
{
|
||||||
|
@ -429,8 +427,6 @@ bool MApplication::event(QEvent *e)
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
|
||||||
#endif //defined(Q_OS_MAC)
|
#endif //defined(Q_OS_MAC)
|
||||||
default:
|
default:
|
||||||
return VAbstractApplication::event(e);
|
return VAbstractApplication::event(e);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user