Skip to content

Commit 774d19d

Browse files
committed
s [skip ci]
1 parent 483b49f commit 774d19d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/resultstree.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,15 +702,15 @@ void ResultsTree::contextMenuEvent(QContextMenuEvent * e)
702702
{
703703
auto *action = new QAction(tr("No tag"), tagMenu);
704704
tagMenu->addAction(action);
705-
connect(action, &QAction::triggered, [=]() {
705+
connect(action, &QAction::triggered, [=, this]() {
706706
tagSelectedItems(QString());
707707
});
708708
}
709709

710710
for (const QString& tagstr : currentProject->getTags()) {
711711
auto *action = new QAction(tagstr, tagMenu);
712712
tagMenu->addAction(action);
713-
connect(action, &QAction::triggered, [=]() {
713+
connect(action, &QAction::triggered, [=, this]() {
714714
tagSelectedItems(tagstr);
715715
});
716716
}

0 commit comments

Comments
 (0)