mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Using EXIT_SUCCESS
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user