0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

UI: Fix a few unused lambda closure captures

This commit is contained in:
jp9000 2018-06-03 04:12:42 -07:00
parent 834ebbd2d4
commit b46fab87b2

View File

@ -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");