mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +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()) {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user