mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Finally fixes problem with compilation on Mac. Closes #215
This commit is contained in:
parent
b936f1b00f
commit
647d1f610a
|
@ -499,7 +499,7 @@ bool MainApplication::event(QEvent* e)
|
|||
{
|
||||
switch (e->type()) {
|
||||
case QEvent::FileOpen: {
|
||||
QString fileName = static_cast<QFileOpenEvent*>(event)->file();
|
||||
QString fileName = static_cast<QFileOpenEvent*>(e)->file();
|
||||
addNewTab(QUrl::fromLocalFile(fileName));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user