Merge pull request #2359 from PrismLauncher/backport-2292-to-release-8.x
[Backport release-8.x] Remove old version variants in instance creation
This commit is contained in:
commit
d43653605f
@ -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())
|
||||||
|
@ -93,16 +93,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="oldSnapshotFilter">
|
|
||||||
<property name="text">
|
|
||||||
<string>Old Snapshots</string>
|
|
||||||
</property>
|
|
||||||
<property name="checkable">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="betaFilter">
|
<widget class="QCheckBox" name="betaFilter">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -286,7 +276,6 @@
|
|||||||
<tabstop>tabWidget</tabstop>
|
<tabstop>tabWidget</tabstop>
|
||||||
<tabstop>releaseFilter</tabstop>
|
<tabstop>releaseFilter</tabstop>
|
||||||
<tabstop>snapshotFilter</tabstop>
|
<tabstop>snapshotFilter</tabstop>
|
||||||
<tabstop>oldSnapshotFilter</tabstop>
|
|
||||||
<tabstop>betaFilter</tabstop>
|
<tabstop>betaFilter</tabstop>
|
||||||
<tabstop>alphaFilter</tabstop>
|
<tabstop>alphaFilter</tabstop>
|
||||||
<tabstop>experimentsFilter</tabstop>
|
<tabstop>experimentsFilter</tabstop>
|
||||||
|
Loading…
Reference in New Issue
Block a user