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