mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Fixed typo and exit application when parsing fails
This commit is contained in:
@@ -31,7 +31,7 @@ int main(int argc, char *argv[])
|
||||
Q_UNUSED(qa);
|
||||
CGuiApplication a("swift mapping tool", CIcons::swiftDatabase48());
|
||||
a.useWebDataServices(BlackCore::CWebReaderFlags::AllSwiftDbReaders, BlackCore::CWebReaderFlags::FromDb);
|
||||
a.start();
|
||||
if (!a.start()) { return EXIT_FAILURE; }
|
||||
CSwiftData w;
|
||||
w.show();
|
||||
int r = a.exec();
|
||||
|
||||
Reference in New Issue
Block a user