mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
feat(main): use return instead of exit (avoid segfault)
This commit is contained in:
parent
bfe5579b2e
commit
8c38adb730
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ int main (int argc, char *argv[]) {
|
|||
QQmlApplicationEngine engine(QUrl("qrc:/ui/views/main_window.qml"));
|
||||
|
||||
if (engine.rootObjects().isEmpty())
|
||||
exit(EXIT_FAILURE);
|
||||
return EXIT_FAILURE;
|
||||
|
||||
exit(app.exec());
|
||||
return app.exec();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue