mirror of https://github.com/PCSX2/pcsx2.git
Qt: Remove presets dropdown, hide restore defaults
Until it's implemented.
This commit is contained in:
parent
2c199e7c42
commit
332346449f
|
@ -93,9 +93,7 @@ void SettingsDialog::setupUi(const GameList::Entry* game)
|
||||||
tr("<strong>Summary</strong><hr>Eventually this will be where we can see patches and compute hashes/verify dumps/etc."));
|
tr("<strong>Summary</strong><hr>Eventually this will be where we can see patches and compute hashes/verify dumps/etc."));
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove the preset buttons. but we might want to enable these in the future.
|
|
||||||
m_ui.restoreDefaultsButton->setVisible(false);
|
m_ui.restoreDefaultsButton->setVisible(false);
|
||||||
m_ui.settingsPreset->setVisible(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common to both per-game and global settings.
|
// Common to both per-game and global settings.
|
||||||
|
@ -142,6 +140,9 @@ void SettingsDialog::setupUi(const GameList::Entry* game)
|
||||||
connect(m_ui.settingsCategory, &QListWidget::currentRowChanged, this, &SettingsDialog::onCategoryCurrentRowChanged);
|
connect(m_ui.settingsCategory, &QListWidget::currentRowChanged, this, &SettingsDialog::onCategoryCurrentRowChanged);
|
||||||
connect(m_ui.closeButton, &QPushButton::clicked, this, &SettingsDialog::accept);
|
connect(m_ui.closeButton, &QPushButton::clicked, this, &SettingsDialog::accept);
|
||||||
connect(m_ui.restoreDefaultsButton, &QPushButton::clicked, this, &SettingsDialog::onRestoreDefaultsClicked);
|
connect(m_ui.restoreDefaultsButton, &QPushButton::clicked, this, &SettingsDialog::onRestoreDefaultsClicked);
|
||||||
|
|
||||||
|
// TODO: Remove this once they're implemented.
|
||||||
|
m_ui.restoreDefaultsButton->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingsDialog::~SettingsDialog()
|
SettingsDialog::~SettingsDialog()
|
||||||
|
|
|
@ -82,25 +82,6 @@
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0" colspan="2">
|
<item row="2" column="0" colspan="2">
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
<item>
|
|
||||||
<widget class="QComboBox" name="settingsPreset">
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>Preset: Custom</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>Preset: Safe (Default)</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>Preset: Fast</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="restoreDefaultsButton">
|
<widget class="QPushButton" name="restoreDefaultsButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
Loading…
Reference in New Issue