From 0e2ea1ba6467d1e66afec72b9aac9524d4d5799f Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Sat, 12 Sep 2015 13:22:47 -0400 Subject: [PATCH] DolphinQt: Remove '&' on closures where it isn't needed. --- Source/Core/DolphinQt/MainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 391022971d..a4806d0e46 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -76,17 +76,17 @@ DMainWindow::DMainWindow(QWidget* parent_widget) connect(m_game_tracker, &DGameTracker::StartGame, this, &DMainWindow::OnPlay); connect(m_ui->actionStop, &QAction::triggered, this, &DMainWindow::OnStop); connect(m_ui->actionReset, &QAction::triggered, this, &DMainWindow::OnReset); - connect(m_ui->actionScreenshot, &QAction::triggered, this, [&]() { + connect(m_ui->actionScreenshot, &QAction::triggered, this, []() { Core::SaveScreenShot(); }); - connect(m_ui->actionWebsite, &QAction::triggered, this, [&]() { + connect(m_ui->actionWebsite, &QAction::triggered, this, []() { QDesktopServices::openUrl(QUrl(SL("https://dolphin-emu.org/"))); }); - connect(m_ui->actionOnlineDocs, &QAction::triggered, this, [&]() { + connect(m_ui->actionOnlineDocs, &QAction::triggered, this, []() { QDesktopServices::openUrl(QUrl(SL("https://dolphin-emu.org/docs/guides/"))); }); - connect(m_ui->actionGitHub, &QAction::triggered, this, [&]() { + connect(m_ui->actionGitHub, &QAction::triggered, this, []() { QDesktopServices::openUrl(QUrl(SL("https://github.com/dolphin-emu/dolphin"))); }); connect(m_ui->actionSystemInfo, &QAction::triggered, this, [&]() {