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);
}
// 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);

View File

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