forked from qt-creator/qt-creator
StudioWelcome: Fix readme path
Change-Id: I3173a10a9944c9247fbded170ade979b4bb45afe Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -657,8 +657,8 @@ WelcomeMode::WelcomeMode()
|
|||||||
m_dataModelDownloader->targetFolder());
|
m_dataModelDownloader->targetFolder());
|
||||||
m_dataModelDownloader->setForceDownload(true);
|
m_dataModelDownloader->setForceDownload(true);
|
||||||
}
|
}
|
||||||
Utils::FilePath readme = Utils::FilePath::fromUserInput(welcomePagePath
|
Utils::FilePath readme = Utils::FilePath::fromUserInput(m_dataModelDownloader->targetFolder().toString()
|
||||||
+ "/dataImports/readme.txt");
|
+ "/readme.txt");
|
||||||
|
|
||||||
if (!readme.exists()) // Only downloads contain the readme
|
if (!readme.exists()) // Only downloads contain the readme
|
||||||
m_dataModelDownloader->setForceDownload(true);
|
m_dataModelDownloader->setForceDownload(true);
|
||||||
|
Reference in New Issue
Block a user