refactor(ui): use tabs for APIPage

This commit is contained in:
Sefa Eyeoglu
2022-06-04 22:04:30 +02:00
parent 4cecba8787
commit 7a3acc3249
2 changed files with 263 additions and 242 deletions

View File

@ -75,7 +75,6 @@ APIPage::APIPage(QWidget *parent) :
// This function needs to be called even when the ComboBox's index is still in its default state.
updateBaseURLPlaceholder(ui->pasteTypeComboBox->currentIndex());
ui->baseURLEntry->setValidator(new QRegularExpressionValidator(validUrlRegExp, ui->baseURLEntry));
ui->tabWidget->tabBar()->hide();
ui->metaURL->setPlaceholderText(BuildConfig.META_URL);
ui->userAgentLineEdit->setPlaceholderText(BuildConfig.USER_AGENT);