mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 03:25:55 +00:00
commit
8760752173
1 changed files with 2 additions and 5 deletions
|
@ -93,10 +93,7 @@ void SlippiPane::CreateLayout()
|
||||||
delay_spin->setValue(SConfig::GetInstance().m_slippiOnlineDelay);
|
delay_spin->setValue(SConfig::GetInstance().m_slippiOnlineDelay);
|
||||||
connect(delay_spin, qOverload<int>(&QSpinBox::valueChanged), this,
|
connect(delay_spin, qOverload<int>(&QSpinBox::valueChanged), this,
|
||||||
[](int delay) { SConfig::GetInstance().m_slippiOnlineDelay = delay; });
|
[](int delay) { SConfig::GetInstance().m_slippiOnlineDelay = delay; });
|
||||||
|
#else
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef IS_PLAYBACK
|
|
||||||
//Playback Settings
|
//Playback Settings
|
||||||
auto* playback_settings = new QGroupBox(tr("Playback Settings"));
|
auto* playback_settings = new QGroupBox(tr("Playback Settings"));
|
||||||
auto* playback_settings_layout = new QVBoxLayout();
|
auto* playback_settings_layout = new QVBoxLayout();
|
||||||
|
@ -114,5 +111,5 @@ void SlippiPane::CreateLayout()
|
||||||
enable_playback_seek_checkbox->setChecked(SConfig::GetInstance().m_slippiEnableSeek);
|
enable_playback_seek_checkbox->setChecked(SConfig::GetInstance().m_slippiEnableSeek);
|
||||||
connect(enable_playback_seek_checkbox, &QCheckBox::toggled, this,
|
connect(enable_playback_seek_checkbox, &QCheckBox::toggled, this,
|
||||||
[](bool checked) { SConfig::GetInstance().m_slippiEnableSeek = checked; });
|
[](bool checked) { SConfig::GetInstance().m_slippiEnableSeek = checked; });
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue