show default metaserver

This commit is contained in:
Ryan Cao 2022-05-25 11:46:15 +08:00
parent dca4ea5cea
commit 8a1ba03bcb
No known key found for this signature in database
GPG Key ID: 528A2C1B6656B97F

View File

@ -48,6 +48,7 @@
#include "tools/BaseProfiler.h" #include "tools/BaseProfiler.h"
#include "Application.h" #include "Application.h"
#include "net/PasteUpload.h" #include "net/PasteUpload.h"
#include "BuildConfig.h"
APIPage::APIPage(QWidget *parent) : APIPage::APIPage(QWidget *parent) :
QWidget(parent), QWidget(parent),
@ -76,6 +77,8 @@ APIPage::APIPage(QWidget *parent) :
ui->baseURLEntry->setValidator(new QRegularExpressionValidator(validUrlRegExp, ui->baseURLEntry)); ui->baseURLEntry->setValidator(new QRegularExpressionValidator(validUrlRegExp, ui->baseURLEntry));
ui->tabWidget->tabBar()->hide(); ui->tabWidget->tabBar()->hide();
ui->metaURL->setPlaceholderText(BuildConfig.META_URL);
loadSettings(); loadSettings();
resetBaseURLNote(); resetBaseURLNote();