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:
Thomas Hartmann
2022-05-18 14:56:06 +02:00
parent 6df6475ccd
commit c91dba1d21

View File

@@ -657,8 +657,8 @@ WelcomeMode::WelcomeMode()
m_dataModelDownloader->targetFolder());
m_dataModelDownloader->setForceDownload(true);
}
Utils::FilePath readme = Utils::FilePath::fromUserInput(welcomePagePath
+ "/dataImports/readme.txt");
Utils::FilePath readme = Utils::FilePath::fromUserInput(m_dataModelDownloader->targetFolder().toString()
+ "/readme.txt");
if (!readme.exists()) // Only downloads contain the readme
m_dataModelDownloader->setForceDownload(true);