forked from qt-creator/qt-creator
Debugger: Remove unused lambda capture
Change-Id: I7e0b87003f320e35dd28aa8ebd83766929ef1565 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@ void DebuggerMainWindow::raiseDock(const QByteArray &dockId)
|
||||
QTC_ASSERT(dock, return);
|
||||
QAction *act = dock->toggleViewAction();
|
||||
if (!act->isChecked())
|
||||
QTimer::singleShot(1, act, [act, dock] { act->trigger(); });
|
||||
QTimer::singleShot(1, act, [act] { act->trigger(); });
|
||||
dock->raise();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user