From a220c150427153f0f180ec17ca0c5cfd6889cf1c Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Mon, 18 Dec 2017 03:07:44 +0100 Subject: [PATCH] Using EXIT_SUCCESS --- src/blackcore/application.cpp | 2 +- src/blackcore/application.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blackcore/application.cpp b/src/blackcore/application.cpp index 7bd04891c..ff18a4555 100644 --- a/src/blackcore/application.cpp +++ b/src/blackcore/application.cpp @@ -982,7 +982,7 @@ namespace BlackCore CLogMessage(getLogCategories()).preformatted(m); } - // from here on we really rip appart the application object + // from here on we really rip apart the application object // and it should no longer be used sApp = nullptr; disconnect(this); diff --git a/src/blackcore/application.h b/src/blackcore/application.h index fbf821946..62c3ce9bb 100644 --- a/src/blackcore/application.h +++ b/src/blackcore/application.h @@ -267,7 +267,7 @@ namespace BlackCore static int exec(); //! Exit application, perform graceful shutdown and exit - static void exit(int retcode = 0); + static void exit(int retcode = EXIT_SUCCESS); //! Similar to QCoreApplication::arguments static QStringList arguments();