Fixed typo and exit application when parsing fails

This commit is contained in:
Klaus Basan
2016-03-16 23:00:00 +01:00
parent ab33ebe64d
commit d687255ef1
4 changed files with 12 additions and 12 deletions

View File

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