mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T220, use improved version of screen geometry detection
* use cmd.line argument to skip restoring if needed * close splash screen as last * log metrics info
This commit is contained in:
@@ -29,8 +29,7 @@ int main(int argc, char *argv[])
|
||||
CSwiftGuiStdApplication a; // application with contexts
|
||||
a.setSignalStartupAutomatically(false); // application will signal startup on its own
|
||||
a.splashScreen(CIcons::swift256());
|
||||
a.setSaveMainWidgetState(true);
|
||||
// a.setMinimumSizeInCharacters(80, 60); // experimental
|
||||
a.setMinimumSizeInCharacters(60, 42); // experimental
|
||||
if (!a.parseAndSynchronizeSetup()) { return EXIT_FAILURE; }
|
||||
if (!a.hasSetupReader() || !a.start())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user