aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorRyan Cao <70191398+ryanccn@users.noreply.github.com>2022-05-25 11:46:15 +0800
committerRyan Cao <70191398+ryanccn@users.noreply.github.com>2022-05-25 11:46:15 +0800
commit8a1ba03bcb6d43f9aae0555125447b4d5cd2dc1a (patch)
tree01a0ab3ee9998fa49ea17b1cf415d57b35ac660d /launcher/ui
parentdca4ea5ceaa30f1285570d2bf32ea112118b9204 (diff)
downloadPrismLauncher-8a1ba03bcb6d43f9aae0555125447b4d5cd2dc1a.tar.gz
PrismLauncher-8a1ba03bcb6d43f9aae0555125447b4d5cd2dc1a.tar.bz2
PrismLauncher-8a1ba03bcb6d43f9aae0555125447b4d5cd2dc1a.zip
show default metaserver
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/pages/global/APIPage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/ui/pages/global/APIPage.cpp b/launcher/ui/pages/global/APIPage.cpp
index 6ad243dd..5d812d07 100644
--- a/launcher/ui/pages/global/APIPage.cpp
+++ b/launcher/ui/pages/global/APIPage.cpp
@@ -48,6 +48,7 @@
#include "tools/BaseProfiler.h"
#include "Application.h"
#include "net/PasteUpload.h"
+#include "BuildConfig.h"
APIPage::APIPage(QWidget *parent) :
QWidget(parent),
@@ -76,6 +77,8 @@ APIPage::APIPage(QWidget *parent) :
ui->baseURLEntry->setValidator(new QRegularExpressionValidator(validUrlRegExp, ui->baseURLEntry));
ui->tabWidget->tabBar()->hide();
+ ui->metaURL->setPlaceholderText(BuildConfig.META_URL);
+
loadSettings();
resetBaseURLNote();