Qt: Remove the shortcutVisibleInContextMenu property from menu items

This commit is contained in:
Alexander Babikov
2025-12-07 17:04:30 +05:00
parent d5b06c50f5
commit 2e9dec8891
3 changed files with 0 additions and 23 deletions

View File

@@ -780,10 +780,6 @@ MainWindow::MainWindow(QWidget *parent)
ui->actionUpdate_mouse_every_CPU_frame->setChecked(true);
}
#ifdef Q_OS_MACOS
ui->actionCtrl_Alt_Del->setShortcutVisibleInContextMenu(true);
ui->actionTake_screenshot->setShortcutVisibleInContextMenu(true);
#endif
if (!vnc_enabled)
video_setblit(qt_blit);
@@ -811,10 +807,6 @@ MainWindow::MainWindow(QWidget *parent)
mtr_stop();
mtr_shutdown();
};
# ifdef Q_OS_MACOS
ui->actionBegin_trace->setShortcutVisibleInContextMenu(true);
ui->actionEnd_trace->setShortcutVisibleInContextMenu(true);
# endif
static bool trace = false;
connect(ui->actionBegin_trace, &QAction::triggered, this, [this] {
if (trace)