1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fixed infinite loop when starting another instance.

This commit is contained in:
nowrep 2012-03-09 22:25:05 +01:00
parent ad4ba2b888
commit f53ddf9316

View File

@ -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;
} }