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();