Using EXIT_SUCCESS

This commit is contained in:
Klaus Basan
2017-12-18 03:07:44 +01:00
parent 1293953a11
commit a220c15042
2 changed files with 2 additions and 2 deletions

View File

@@ -982,7 +982,7 @@ namespace BlackCore
CLogMessage(getLogCategories()).preformatted(m); 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 // and it should no longer be used
sApp = nullptr; sApp = nullptr;
disconnect(this); disconnect(this);

View File

@@ -267,7 +267,7 @@ namespace BlackCore
static int exec(); static int exec();
//! Exit application, perform graceful shutdown and exit //! Exit application, perform graceful shutdown and exit
static void exit(int retcode = 0); static void exit(int retcode = EXIT_SUCCESS);
//! Similar to QCoreApplication::arguments //! Similar to QCoreApplication::arguments
static QStringList arguments(); static QStringList arguments();