"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/GUI/LauncherMainWindow.cxx" between
flightgear-2020.1.1.tar.bz2 and flightgear-2020.1.2.tar.bz2

About: FlightGear is a multi-platform, cooperative flight simulator development project.

LauncherMainWindow.cxx  (flightgear-2020.1.1.tar.bz2):LauncherMainWindow.cxx  (flightgear-2020.1.2.tar.bz2)
skipping to change at line 99 skipping to change at line 99
selector->setExtraSelectors({"qt56"}); selector->setExtraSelectors({"qt56"});
#endif #endif
QQmlContext* ctx = rootContext(); QQmlContext* ctx = rootContext();
ctx->setContextProperty("_launcher", m_controller); ctx->setContextProperty("_launcher", m_controller);
ctx->setContextProperty("_addOns", addOnsCtl); ctx->setContextProperty("_addOns", addOnsCtl);
ctx->setContextProperty("_config", m_controller->config()); ctx->setContextProperty("_config", m_controller->config());
ctx->setContextProperty("_location", m_controller->location()); ctx->setContextProperty("_location", m_controller->location());
ctx->setContextProperty("_osName", osName); ctx->setContextProperty("_osName", osName);
#if defined(ENABLE_COMPOSITOR)
ctx->setContextProperty("_haveCompositor", true);
#else
ctx->setContextProperty("_haveCompositor", false);
#endif
auto weatherScenariosModel = new flightgear::WeatherScenariosModel(this); auto weatherScenariosModel = new flightgear::WeatherScenariosModel(this);
ctx->setContextProperty("_weatherScenarios", weatherScenariosModel); ctx->setContextProperty("_weatherScenarios", weatherScenariosModel);
setSource(QUrl("qrc:///qml/Launcher.qml")); setSource(QUrl("qrc:///qml/Launcher.qml"));
} }
#if 0 #if 0
void LauncherMainWindow::onQuickStatusChanged(QQuickWidget::Status status) void LauncherMainWindow::onQuickStatusChanged(QQuickWidget::Status status)
{ {
if (status == QQuickWidget::Error) { if (status == QQuickWidget::Error) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)