mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
refs #485, support splash screen
This commit is contained in:
committed by
Mathew Sutcliffe
parent
90a8368002
commit
45496ce08e
@@ -25,6 +25,8 @@ int main(int argc, char *argv[])
|
||||
//! [CSwiftGuiStdApplication]
|
||||
QApplication qa(argc, argv);
|
||||
CSwiftGuiStdApplication a;
|
||||
a.signalStartupAutomatically(); // application will signal startup on its own
|
||||
a.splashScreen(":/own/icons/own/swift/swiftCirclePilotClient1024.png");
|
||||
if (!a.start()) { return EXIT_FAILURE; }
|
||||
//! [CSwiftGuiStdApplication]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user