Debugger: Remove unused lambda capture

Change-Id: I7e0b87003f320e35dd28aa8ebd83766929ef1565
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Ulf Hermann
2017-11-07 10:50:17 +01:00
parent 389ca50865
commit 8515fd13e3

View File

@@ -134,7 +134,7 @@ void DebuggerMainWindow::raiseDock(const QByteArray &dockId)
QTC_ASSERT(dock, return); QTC_ASSERT(dock, return);
QAction *act = dock->toggleViewAction(); QAction *act = dock->toggleViewAction();
if (!act->isChecked()) if (!act->isChecked())
QTimer::singleShot(1, act, [act, dock] { act->trigger(); }); QTimer::singleShot(1, act, [act] { act->trigger(); });
dock->raise(); dock->raise();
} }