1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 15:45:35 +00:00

Merge branch 'cstemprefs' into 'master'

Don't capture temporaries by reference

Closes #7285

See merge request OpenMW/openmw!2844
This commit is contained in:
psi29a 2023-03-20 21:02:14 +00:00
commit ffe0e01dfc

View file

@ -57,7 +57,7 @@ namespace CSVWorld
action->setChecked(!table.isColumnHidden(i));
menu->addAction(action);
connect(action, &QAction::triggered, [this, &action, &i]() {
connect(action, &QAction::triggered, [this, action, i]() {
table.setColumnHidden(i, !action->isChecked());
action->setChecked(!action->isChecked());
action->toggle();