aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorEzekiel Smith <ezekielsmith@protonmail.com>2022-03-08 01:22:34 +1100
committerGitHub <noreply@github.com>2022-03-08 01:22:34 +1100
commitdc9e2508684b6cbedd03c36fcbb4b91095962e91 (patch)
tree8c4a5cd2a846f4de7fd3c9ca8e1a32cd9c4199a7 /launcher/ui
parentb6cf0359faf1d366a4afd92930008d25ea492049 (diff)
parentb93daf1fb743f09d48595f554d93a49fe448d6b7 (diff)
downloadPrismLauncher-dc9e2508684b6cbedd03c36fcbb4b91095962e91.tar.gz
PrismLauncher-dc9e2508684b6cbedd03c36fcbb4b91095962e91.tar.bz2
PrismLauncher-dc9e2508684b6cbedd03c36fcbb4b91095962e91.zip
Merge pull request #232 from Scrumplex/fix-help-links
Switch to polymc.org wiki
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/widgets/PageContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/widgets/PageContainer.cpp b/launcher/ui/widgets/PageContainer.cpp
index 6de49467..558a98fb 100644
--- a/launcher/ui/widgets/PageContainer.cpp
+++ b/launcher/ui/widgets/PageContainer.cpp
@@ -14,6 +14,7 @@
*/
#include "PageContainer.h"
+#include "BuildConfig.h"
#include "PageContainer_p.h"
#include <QStackedLayout>
@@ -207,7 +208,7 @@ void PageContainer::help()
QString pageId = m_currentPage->helpPage();
if (pageId.isEmpty())
return;
- DesktopServices::openUrl(QUrl("https://github.com/PolyMC/PolyMC/wiki/" + pageId));
+ DesktopServices::openUrl(QUrl(BuildConfig.HELP_URL.arg(pageId)));
}
}