Remove redundant check.
--HG-- branch : develop
This commit is contained in:
parent
d10026bd9d
commit
7b76dbe99d
|
@ -436,8 +436,6 @@ bool MApplication::event(QEvent *e)
|
|||
case QEvent::FileOpen:
|
||||
{
|
||||
QFileOpenEvent *fileOpenEvent = static_cast<QFileOpenEvent *>(e);
|
||||
if(fileOpenEvent)
|
||||
{
|
||||
const QString macFileOpen = fileOpenEvent->file();
|
||||
if(not macFileOpen.isEmpty())
|
||||
{
|
||||
|
@ -448,7 +446,6 @@ bool MApplication::event(QEvent *e)
|
|||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
#if defined(Q_OS_MAC)
|
||||
|
|
Loading…
Reference in New Issue
Block a user