1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

Finally fixes problem with compilation on Mac. Closes #215

This commit is contained in:
David Rosca 2012-01-25 10:52:00 +01:00
parent b936f1b00f
commit 647d1f610a

View File

@ -499,7 +499,7 @@ bool MainApplication::event(QEvent* e)
{ {
switch (e->type()) { switch (e->type()) {
case QEvent::FileOpen: { case QEvent::FileOpen: {
QString fileName = static_cast<QFileOpenEvent*>(event)->file(); QString fileName = static_cast<QFileOpenEvent*>(e)->file();
addNewTab(QUrl::fromLocalFile(fileName)); addNewTab(QUrl::fromLocalFile(fileName));
return true; return true;
} }