mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 08:55:43 +08:00
committed by
Mathew Sutcliffe
parent
3603bbabe2
commit
2434c7bbe2
@@ -27,6 +27,9 @@ int main(int argc, char *argv[])
|
|||||||
QApplication qa(argc, argv);
|
QApplication qa(argc, argv);
|
||||||
Q_UNUSED(qa);
|
Q_UNUSED(qa);
|
||||||
CGuiApplication a("swift mapping tool", CGuiApplication::MappingTool, CIcons::swiftDatabase48());
|
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());
|
a.useWebDataServices(BlackCore::CWebReaderFlags::AllSwiftDbReaders, CDatabaseReaderConfigList::forMappingTool());
|
||||||
if (!a.start()) { return EXIT_FAILURE; }
|
if (!a.start()) { return EXIT_FAILURE; }
|
||||||
CSwiftData w;
|
CSwiftData w;
|
||||||
|
|||||||
@@ -105,6 +105,8 @@ void CSwiftData::init()
|
|||||||
t += s.getDbHomePageUrl().toQString(true);
|
t += s.getDbHomePageUrl().toQString(true);
|
||||||
this->setWindowTitle(t);
|
this->setWindowTitle(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sGui->startUpCompleted(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSwiftData::initLogDisplay()
|
void CSwiftData::initLogDisplay()
|
||||||
|
|||||||
Reference in New Issue
Block a user