aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2022-05-18 14:56:06 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2022-05-18 16:14:42 +0000
commitc91dba1d218775aefd11036f7374c1bba7fc8016 (patch)
treee7125b81534ab4b15bd3c88af8e50b4f66ce9cea
parent6df6475ccdc144eeccaf2991e7294fa6a0787460 (diff)
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>
-rw-r--r--src/plugins/studiowelcome/studiowelcomeplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
index 338793e405..e6e0632a44 100644
--- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp
+++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
@@ -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);