mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fixed infinite loop when starting another instance.
This commit is contained in:
parent
ad4ba2b888
commit
f53ddf9316
|
@ -61,7 +61,6 @@ int main(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
MainApplication app(cmdActions, argc, argv);
|
MainApplication app(cmdActions, argc, argv);
|
||||||
app.setStyle(new ProxyStyle());
|
|
||||||
|
|
||||||
if (app.isExited()) {
|
if (app.isExited()) {
|
||||||
// Not showing any output, otherwise XFCE shows "Failed to execute default browser. I/O error" error
|
// Not showing any output, otherwise XFCE shows "Failed to execute default browser. I/O error" error
|
||||||
|
@ -71,6 +70,8 @@ int main(int argc, char* argv[])
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app.setStyle(new ProxyStyle());
|
||||||
|
|
||||||
int result = app.exec();
|
int result = app.exec();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user