diff --git a/tests/src/main.cpp b/tests/src/main.cpp index 63b24d769..fdde7ecfb 100644 --- a/tests/src/main.cpp +++ b/tests/src/main.cpp @@ -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(); }