Add swiftdata splash screen

refs #738
This commit is contained in:
Roland Winklmeier
2016-08-19 20:59:38 +02:00
committed by Mathew Sutcliffe
parent 3603bbabe2
commit 2434c7bbe2
2 changed files with 5 additions and 0 deletions

View File

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

View File

@@ -105,6 +105,8 @@ void CSwiftData::init()
t += s.getDbHomePageUrl().toQString(true);
this->setWindowTitle(t);
}
sGui->startUpCompleted(true);
}
void CSwiftData::initLogDisplay()