Minor improvements at startup

Found due to expiry date
This commit is contained in:
Klaus Basan
2017-01-01 04:37:29 +01:00
committed by Mathew Sutcliffe
parent 683cffd42b
commit 2821cd5213
6 changed files with 15 additions and 6 deletions

View File

@@ -24,9 +24,11 @@ int main(int argc, char *argv[])
//! [SwiftApplicationDemo]
CGuiApplication::highDpiScreenSupport();
QApplication qa(argc, argv);
Q_UNUSED(qa); // application init needed
CSwiftGuiStdApplication a;
a.setSignalStartupAutomatically(false); // application will signal startup on its own
a.splashScreen(CIcons::swift256());
if (!a.parse()) { return EXIT_FAILURE; }
if (!a.start())
{
a.gracefulShutdown();