diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-14 16:47:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-14 16:47:55 +0200 |
| commit | ca5dc2569404167e5cbeb09f59aea9de217d4270 (patch) | |
| tree | ac605b6ea30fbdd29cc609a2ddd891612cf6f0d7 /Source/Core/DolphinQt2/MenuBar.cpp | |
| parent | 26b104897583761cc9d62be10ee29c079a70ba71 (diff) | |
| parent | e2543ea801a43a492e39527933a16b2f96765ea8 (diff) | |
Merge pull request #6858 from lioncash/capture
DolphinQt2: Resolve unused lambda capture warnings
Diffstat (limited to 'Source/Core/DolphinQt2/MenuBar.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MenuBar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/MenuBar.cpp b/Source/Core/DolphinQt2/MenuBar.cpp index 5f939fb087..d8726eca80 100644 --- a/Source/Core/DolphinQt2/MenuBar.cpp +++ b/Source/Core/DolphinQt2/MenuBar.cpp @@ -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); } |
