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:
Klaus Basan
2018-01-11 03:32:23 +01:00
parent 350a75d672
commit 7dd77b8ca3
2 changed files with 8 additions and 16 deletions

View File

@@ -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())
{