mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
committed by
Mathew Sutcliffe
parent
3603bbabe2
commit
2434c7bbe2
@@ -27,6 +27,9 @@ int main(int argc, char *argv[])
|
||||
QApplication qa(argc, argv);
|
||||
Q_UNUSED(qa);
|
||||
CGuiApplication a("swift mapping tool", CGuiApplication::MappingTool, CIcons::swiftDatabase48());
|
||||
a.setSignalStartupAutomatically(false); // application will signal startup on its own
|
||||
// Todo: Replace texture with a higher quality one
|
||||
a.splashScreen(":/own/icons/own/swift/swift128Database.png");
|
||||
a.useWebDataServices(BlackCore::CWebReaderFlags::AllSwiftDbReaders, CDatabaseReaderConfigList::forMappingTool());
|
||||
if (!a.start()) { return EXIT_FAILURE; }
|
||||
CSwiftData w;
|
||||
|
||||
@@ -105,6 +105,8 @@ void CSwiftData::init()
|
||||
t += s.getDbHomePageUrl().toQString(true);
|
||||
this->setWindowTitle(t);
|
||||
}
|
||||
|
||||
sGui->startUpCompleted(true);
|
||||
}
|
||||
|
||||
void CSwiftData::initLogDisplay()
|
||||
|
||||
Reference in New Issue
Block a user