diff options
Diffstat (limited to 'desktop-widgets/filterwidget.cpp')
-rw-r--r-- | desktop-widgets/filterwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/filterwidget.cpp b/desktop-widgets/filterwidget.cpp index 96797bcea..170b0d1ac 100644 --- a/desktop-widgets/filterwidget.cpp +++ b/desktop-widgets/filterwidget.cpp @@ -73,7 +73,7 @@ void FilterWidget::updatePresetMenu() for (int i = 0; i < count; ++i) { QModelIndex idx = model->index(i, FilterPresetModel::NAME); QString name = model->data(idx, Qt::DisplayRole).value<QString>(); - loadFilterPresetMenu->addAction(name, [this,i,model]() { selectPreset(i); }); + loadFilterPresetMenu->addAction(name, [this,i]() { selectPreset(i); }); } ui.loadSetButton->setMenu(loadFilterPresetMenu.get()); } |