Remove redundant check.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-21 17:19:12 +02:00
parent ffc1bae39c
commit 4cf9c59056

View File

@ -637,8 +637,6 @@ bool VApplication::event(QEvent *e)
case QEvent::FileOpen:
{
QFileOpenEvent *fileOpenEvent = static_cast<QFileOpenEvent *>(e);
if(fileOpenEvent)
{
const QString macFileOpen = fileOpenEvent->file();
if(not macFileOpen.isEmpty())
{
@ -649,7 +647,6 @@ bool VApplication::event(QEvent *e)
}
return true;
}
}
break;
}
#if defined(Q_OS_MAC)