forked from qt-creator/qt-creator
StudioWelcome: do not crash if StudioWelcome can not be loaded
Change-Id: Ifc543842d85598cf8b8be16478ff9d66aa4d0592 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -759,7 +759,8 @@ WelcomeMode::WelcomeMode()
|
||||
m_dataModelDownloader->setForceDownload(true);
|
||||
|
||||
connect(m_dataModelDownloader, &DataModelDownloader::progressChanged, this, [this](){
|
||||
m_quickWidget->rootObject()->setProperty("loadingProgress", m_dataModelDownloader->progress());
|
||||
if (m_quickWidget->rootObject())
|
||||
m_quickWidget->rootObject()->setProperty("loadingProgress", m_dataModelDownloader->progress());
|
||||
});
|
||||
|
||||
connect(m_dataModelDownloader, &DataModelDownloader::finished, this, [this, welcomePagePath]() {
|
||||
|
Reference in New Issue
Block a user