mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 16:29:44 -05:00
Merge pull request #1335 from keepassxreboot/hotfix/prevent-menu-moves
Prevent shadowing of application settings on MacOS
This commit is contained in:
commit
ad8fca259f
@ -193,7 +193,6 @@ MainWindow::MainWindow()
|
||||
m_ui->actionChangeMasterKey->setIcon(filePath()->icon("actions", "database-change-key", false));
|
||||
m_ui->actionLockDatabases->setIcon(filePath()->icon("actions", "document-encrypt", false));
|
||||
m_ui->actionQuit->setIcon(filePath()->icon("actions", "application-exit"));
|
||||
m_ui->actionQuit->setMenuRole(QAction::QuitRole);
|
||||
|
||||
m_ui->actionEntryNew->setIcon(filePath()->icon("actions", "entry-new", false));
|
||||
m_ui->actionEntryClone->setIcon(filePath()->icon("actions", "entry-clone", false));
|
||||
@ -210,11 +209,9 @@ MainWindow::MainWindow()
|
||||
m_ui->actionGroupEmptyRecycleBin->setIcon(filePath()->icon("actions", "group-empty-trash", false));
|
||||
|
||||
m_ui->actionSettings->setIcon(filePath()->icon("actions", "configure"));
|
||||
m_ui->actionSettings->setMenuRole(QAction::PreferencesRole);
|
||||
m_ui->actionPasswordGenerator->setIcon(filePath()->icon("actions", "password-generator", false));
|
||||
|
||||
m_ui->actionAbout->setIcon(filePath()->icon("actions", "help-about"));
|
||||
m_ui->actionAbout->setMenuRole(QAction::AboutRole);
|
||||
|
||||
m_actionMultiplexer.connect(SIGNAL(currentModeChanged(DatabaseWidget::Mode)),
|
||||
this, SLOT(setMenuActionState(DatabaseWidget::Mode)));
|
||||
|
@ -297,11 +297,17 @@
|
||||
<property name="text">
|
||||
<string>&Quit</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::QuitRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAbout">
|
||||
<property name="text">
|
||||
<string>&About</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::AboutRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDatabaseOpen">
|
||||
<property name="text">
|
||||
@ -408,6 +414,9 @@
|
||||
<property name="toolTip">
|
||||
<string>Database settings</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEntryClone">
|
||||
<property name="enabled">
|
||||
@ -451,6 +460,9 @@
|
||||
<property name="text">
|
||||
<string>&Settings</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::PreferencesRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPasswordGenerator">
|
||||
<property name="checkable">
|
||||
|
Loading…
Reference in New Issue
Block a user