mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 19:16:01 +08:00
Minor improvements at startup
Found due to expiry date
This commit is contained in:
committed by
Mathew Sutcliffe
parent
683cffd42b
commit
2821cd5213
@@ -29,9 +29,13 @@ int main(int argc, char *argv[])
|
||||
CGuiApplication a("swift mapping tool", CApplicationInfo::MappingTool, CIcons::swiftDatabase48());
|
||||
a.setSignalStartupAutomatically(false); // application will signal startup on its own
|
||||
a.splashScreen(CIcons::swiftDatabase256());
|
||||
a.parse();
|
||||
if (!a.parse()) { return EXIT_FAILURE; }
|
||||
a.useWebDataServices(BlackCore::CWebReaderFlags::AllSwiftDbReaders, CDatabaseReaderConfigList::forMappingTool());
|
||||
if (!a.start()) { return EXIT_FAILURE; }
|
||||
if (!a.start())
|
||||
{
|
||||
a.gracefulShutdown();
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
CSwiftData w;
|
||||
w.show();
|
||||
int r = a.exec();
|
||||
|
||||
Reference in New Issue
Block a user