mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Minor improvements at startup
Found due to expiry date
This commit is contained in:
committed by
Mathew Sutcliffe
parent
683cffd42b
commit
2821cd5213
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user