Fix Qt menu roles for certain menu items
This commit is contained in:
@@ -181,6 +181,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
main_window = this;
|
main_window = this;
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
status->setSoundGainAction(ui->actionSound_gain);
|
status->setSoundGainAction(ui->actionSound_gain);
|
||||||
|
ui->menuEGA_S_VGA_settings->menuAction()->setMenuRole(QAction::NoRole);
|
||||||
ui->stackedWidget->setMouseTracking(true);
|
ui->stackedWidget->setMouseTracking(true);
|
||||||
statusBar()->setVisible(!hide_status_bar);
|
statusBar()->setVisible(!hide_status_bar);
|
||||||
#ifdef Q_OS_WINDOWS
|
#ifdef Q_OS_WINDOWS
|
||||||
|
|||||||
@@ -353,6 +353,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Exit</string>
|
<string>Exit</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="menuRole">
|
||||||
|
<enum>QAction::QuitRole</enum>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSettings">
|
<action name="actionSettings">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
@@ -815,6 +818,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Renderer options...</string>
|
<string>Renderer options...</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="menuRole">
|
||||||
|
<enum>QAction::NoRole</enum>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionVulkan">
|
<action name="actionVulkan">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
|
|||||||
Reference in New Issue
Block a user