mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-20 09:00:07 +00:00
Qt: Fix unused lambda capture warning
This commit is contained in:
parent
6615fc79d6
commit
05dcb17334
@ -1917,7 +1917,7 @@ void MainWindow::onToolbarContextMenuRequested(const QPoint& pos)
|
||||
QAction* position_action = position_menu->addAction(tr(name));
|
||||
position_action->setCheckable(true);
|
||||
position_action->setChecked(toolBarArea(m_ui.toolBar) == area);
|
||||
connect(position_action, &QAction::triggered, this, [this, area, name]() {
|
||||
connect(position_action, &QAction::triggered, this, [this, name]() {
|
||||
Host::SetBaseStringSettingValue("UI", "ToolbarArea", name);
|
||||
Host::CommitBaseSettingChanges();
|
||||
updateToolbarArea();
|
||||
|
Loading…
x
Reference in New Issue
Block a user