mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DolphinQt2: Resolve unused lambda capture warnings
Resolves -Wunused-lambda-capture warnings.
This commit is contained in:
parent
db4d8d7ad3
commit
e2543ea801
5 changed files with 6 additions and 6 deletions
|
@ -478,14 +478,14 @@ void MenuBar::AddOptionsMenu()
|
|||
m_boot_to_pause->setChecked(SConfig::GetInstance().bBootToPause);
|
||||
|
||||
connect(m_boot_to_pause, &QAction::toggled, this,
|
||||
[this](bool enable) { SConfig::GetInstance().bBootToPause = enable; });
|
||||
[](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,
|
||||
[this](bool enable) { SConfig::GetInstance().bAutomaticStart = enable; });
|
||||
[](bool enable) { SConfig::GetInstance().bAutomaticStart = enable; });
|
||||
|
||||
m_change_font = AddAction(options_menu, tr("&Font..."), this, &MenuBar::ChangeDebugFont);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue