mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Rename CApplication member function to be better readable
The combination of the method's name 'signalStartupAutomatically' and the default argument, I completely misunderstood the purpose of the method in case the argument was skipped. 'a.signalStartupAutomatically()' actually disabled automatic signaling.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
fcac3b8137
commit
3603bbabe2
@@ -25,7 +25,7 @@ int main(int argc, char *argv[])
|
||||
CGuiApplication::highDpiScreenSupport();
|
||||
QApplication qa(argc, argv);
|
||||
CSwiftGuiStdApplication a;
|
||||
a.signalStartupAutomatically(); // application will signal startup on its own
|
||||
a.setSignalStartupAutomatically(false); // application will signal startup on its own
|
||||
a.splashScreen(":/own/icons/own/swift/swiftCirclePilotClient1024.png");
|
||||
if (!a.start())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user