Skip to content

Commit

Permalink
remove unused capture of this
Browse files Browse the repository at this point in the history
  • Loading branch information
AW1534 committed Feb 18, 2025
1 parent c1fbc14 commit 4342dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/FileBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ void FileBrowserTreeWidget::contextMenuEvent(QContextMenuEvent* e)
}

contextMenu.addAction(QIcon(embed::getIconPixmap("folder")), tr("Show in %1").arg(fileManager),
[=, this] { FileRevealer::reveal(file->fullName()); });
[=] { FileRevealer::reveal(file->fullName()); });

auto songEditorHeader = new QAction(tr("Song Editor"), nullptr);
songEditorHeader->setDisabled(true);
Expand All @@ -666,7 +666,7 @@ void FileBrowserTreeWidget::contextMenuEvent(QContextMenuEvent* e)
}
case TypeDirectoryItem: {
auto dir = dynamic_cast<Directory*>(item);
contextMenu.addAction(QIcon(embed::getIconPixmap("folder")), tr("Open in %1").arg(fileManager), [=, this] {
contextMenu.addAction(QIcon(embed::getIconPixmap("folder")), tr("Open in %1").arg(fileManager), [=] {
FileRevealer::openDir(dir->fullName());
});
break;
Expand Down

0 comments on commit 4342dcb

Please sign in to comment.