Renaming and removing redundancies
old's do not make sense here
Signed-off-by: ColonelGerdauf <ColonelGerdauf@users.noreply.github.com>
(cherry picked from commit f91f97e56d
)
This commit is contained in:
parent
098f1f1281
commit
c02257024e
@ -55,7 +55,6 @@ CustomPage::CustomPage(NewInstanceDialog* dialog, QWidget* parent) : QWidget(par
|
|||||||
connect(ui->alphaFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
connect(ui->alphaFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
||||||
connect(ui->betaFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
connect(ui->betaFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
||||||
connect(ui->snapshotFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
connect(ui->snapshotFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
||||||
connect(ui->oldSnapshotFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
|
||||||
connect(ui->releaseFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
connect(ui->releaseFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
||||||
connect(ui->experimentsFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
connect(ui->experimentsFilter, &QCheckBox::stateChanged, this, &CustomPage::filterChanged);
|
||||||
connect(ui->refreshBtn, &QPushButton::clicked, this, &CustomPage::refresh);
|
connect(ui->refreshBtn, &QPushButton::clicked, this, &CustomPage::refresh);
|
||||||
@ -96,13 +95,11 @@ void CustomPage::filterChanged()
|
|||||||
{
|
{
|
||||||
QStringList out;
|
QStringList out;
|
||||||
if (ui->alphaFilter->isChecked())
|
if (ui->alphaFilter->isChecked())
|
||||||
out << "(old_alpha)";
|
out << "(alpha)";
|
||||||
if (ui->betaFilter->isChecked())
|
if (ui->betaFilter->isChecked())
|
||||||
out << "(old_beta)";
|
out << "(beta)";
|
||||||
if (ui->snapshotFilter->isChecked())
|
if (ui->snapshotFilter->isChecked())
|
||||||
out << "(snapshot)";
|
out << "(snapshot)";
|
||||||
if (ui->oldSnapshotFilter->isChecked())
|
|
||||||
out << "(old_snapshot)";
|
|
||||||
if (ui->releaseFilter->isChecked())
|
if (ui->releaseFilter->isChecked())
|
||||||
out << "(release)";
|
out << "(release)";
|
||||||
if (ui->experimentsFilter->isChecked())
|
if (ui->experimentsFilter->isChecked())
|
||||||
|
Loading…
Reference in New Issue
Block a user