mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Qt: Remove the shortcutVisibleInContextMenu property from menu items
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user