diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-15 20:38:27 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-15 20:38:27 +0200 |
commit | 78cf0c73c89f0d1207bb079bf4670cc032607c4d (patch) | |
tree | 3e8c2e08b3ab2c13df879413d4d95d86c607d159 /launcher | |
parent | 4adc61bda91bb01e603fb975b05651df7decaf52 (diff) | |
download | PrismLauncher-78cf0c73c89f0d1207bb079bf4670cc032607c4d.tar.gz PrismLauncher-78cf0c73c89f0d1207bb079bf4670cc032607c4d.tar.bz2 PrismLauncher-78cf0c73c89f0d1207bb079bf4670cc032607c4d.zip |
fix: always show project url, if available
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp index fd9adc24..a2e18d19 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp @@ -218,7 +218,7 @@ void ModrinthPage::updateUI() { QString text = ""; - if (current.extra.sourceUrl.isEmpty()) + if (current.extra.projectUrl.isEmpty()) text = current.name; else text = "<a href=\"" + current.extra.projectUrl + "\">" + current.name + "</a>"; |