mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #12548 from AdmiralCurtiss/dead-automatic-start
Core/ConfigManager: Remove dead bAutomaticStart flag.
This commit is contained in:
commit
438f5c3412
@ -219,7 +219,6 @@ void SConfig::OnNewTitleLoad(const Core::CPUThreadGuard& guard)
|
||||
|
||||
void SConfig::LoadDefaults()
|
||||
{
|
||||
bAutomaticStart = false;
|
||||
bBootToPause = false;
|
||||
|
||||
auto& system = Core::System::GetInstance();
|
||||
|
@ -44,7 +44,6 @@ struct BootParameters;
|
||||
struct SConfig
|
||||
{
|
||||
// Settings
|
||||
bool bAutomaticStart = false;
|
||||
bool bBootToPause = false;
|
||||
|
||||
bool bJITNoBlockCache = false;
|
||||
|
@ -172,7 +172,6 @@ void MenuBar::OnDebugModeToggled(bool enabled)
|
||||
{
|
||||
// Options
|
||||
m_boot_to_pause->setVisible(enabled);
|
||||
m_automatic_start->setVisible(enabled);
|
||||
m_reset_ignore_panic_handler->setVisible(enabled);
|
||||
m_change_font->setVisible(enabled);
|
||||
|
||||
@ -573,13 +572,6 @@ void MenuBar::AddOptionsMenu()
|
||||
connect(m_boot_to_pause, &QAction::toggled, this,
|
||||
[](bool enable) { SConfig::GetInstance().bBootToPause = enable; });
|
||||
|
||||
m_automatic_start = options_menu->addAction(tr("&Automatic Start"));
|
||||
m_automatic_start->setCheckable(true);
|
||||
m_automatic_start->setChecked(SConfig::GetInstance().bAutomaticStart);
|
||||
|
||||
connect(m_automatic_start, &QAction::toggled, this,
|
||||
[](bool enable) { SConfig::GetInstance().bAutomaticStart = enable; });
|
||||
|
||||
m_reset_ignore_panic_handler = options_menu->addAction(tr("Reset Ignore Panic Handler"));
|
||||
|
||||
connect(m_reset_ignore_panic_handler, &QAction::triggered, this, []() {
|
||||
|
@ -241,7 +241,6 @@ private:
|
||||
|
||||
// Options
|
||||
QAction* m_boot_to_pause;
|
||||
QAction* m_automatic_start;
|
||||
QAction* m_reset_ignore_panic_handler;
|
||||
QAction* m_change_font;
|
||||
QAction* m_controllers_action;
|
||||
|
Loading…
Reference in New Issue
Block a user