avoid extra allocations

This commit is contained in:
nmzik
2026-09-17 20:18:25 +04:00
parent c5cebc1d19
commit 6cfde37e98
2 changed files with 3 additions and 13 deletions
+1 -2
View File
@@ -862,8 +862,7 @@ void ConfigurationListWidget::show_context_menu(const QPoint& pos) {
const bool has_trophy_data =
item != nullptr && TrophyViewerDialog::HasTrophyData(&item->GetInfo());
QAction* action_run = menu.addAction(tr("Run"));
connect(action_run, &QAction::triggered, this, &ConfigurationListWidget::Run);
QAction* action_run = menu.addAction(tr("Run"), this, SIGNAL(Run()));
QAction* action_open_folder =
menu.addAction(style()->standardIcon(QStyle::SP_DirOpenIcon), tr("Open game folder"), this,
SLOT(open_game_folder()));