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)

View File

@@ -375,9 +375,6 @@
<property name="iconVisibleInMenu">
<bool>false</bool>
</property>
<property name="shortcutVisibleInContextMenu">
<bool>false</bool>
</property>
</action>
<action name="actionCtrl_Alt_Esc">
<property name="icon">
@@ -753,9 +750,6 @@
<property name="shortcut">
<string>Ctrl+F11</string>
</property>
<property name="shortcutVisibleInContextMenu">
<bool>false</bool>
</property>
</action>
<action name="actionMute_Unmute">
<property name="text">
@@ -833,9 +827,6 @@
<property name="visible">
<bool>false</bool>
</property>
<property name="shortcutVisibleInContextMenu">
<bool>false</bool>
</property>
</action>
<action name="actionEnd_trace">
<property name="text">
@@ -847,9 +838,6 @@
<property name="visible">
<bool>false</bool>
</property>
<property name="shortcutVisibleInContextMenu">
<bool>false</bool>
</property>
</action>
<action name="actionRenderer_options">
<property name="text">

View File

@@ -171,9 +171,6 @@
<property name="iconVisibleInMenu">
<bool>false</bool>
</property>
<property name="shortcutVisibleInContextMenu">
<bool>false</bool>
</property>
</action>
<action name="actionSettings">
<property name="icon">