aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-15 20:38:27 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-05-15 20:38:27 +0200
commit78cf0c73c89f0d1207bb079bf4670cc032607c4d (patch)
tree3e8c2e08b3ab2c13df879413d4d95d86c607d159 /launcher/ui/pages/modplatform/modrinth
parent4adc61bda91bb01e603fb975b05651df7decaf52 (diff)
downloadPrismLauncher-78cf0c73c89f0d1207bb079bf4670cc032607c4d.tar.gz
PrismLauncher-78cf0c73c89f0d1207bb079bf4670cc032607c4d.tar.bz2
PrismLauncher-78cf0c73c89f0d1207bb079bf4670cc032607c4d.zip
fix: always show project url, if available
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth')
-rw-r--r--launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp2
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>";