Merge pull request #41 from r2dliu/build_fix

Fix netplay build
This commit is contained in:
David Liu 2020-07-18 16:00:30 -04:00 committed by GitHub
commit 8760752173
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}