From b46fab87b2b0c4d3d0cc66a670067ea8adf94e1d Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 3 Jun 2018 04:12:42 -0700 Subject: [PATCH] UI: Fix a few unused lambda closure captures --- UI/window-basic-main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 74a88b3b5..a817086b2 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -232,7 +232,7 @@ OBSBasic::OBSBasic(QWidget *parent) addNudge(Qt::Key_Left, SLOT(NudgeLeft())); addNudge(Qt::Key_Right, SLOT(NudgeRight())); - auto assignDockToggle = [this](QDockWidget *dock, QAction *action) + auto assignDockToggle = [] (QDockWidget *dock, QAction *action) { auto handleWindowToggle = [action] (bool vis) { @@ -3686,7 +3686,7 @@ void OBSBasic::on_scenes_customContextMenuRequested(const QPoint &pos) multiviewAction->setCheckable(true); multiviewAction->setChecked(show); - auto showInMultiview = [this] (OBSData data) + auto showInMultiview = [] (OBSData data) { bool show = obs_data_get_bool(data, "show_in_multiview");