mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-27 06:47:02 -05:00
remove useless View menu
This commit is contained in:
parent
be88e93820
commit
ca59ae4f4f
@ -124,12 +124,6 @@ MainWindow::MainWindow()
|
|||||||
|
|
||||||
setWindowIcon(filePath()->applicationIcon());
|
setWindowIcon(filePath()->applicationIcon());
|
||||||
m_ui->globalMessageWidget->setHidden(true);
|
m_ui->globalMessageWidget->setHidden(true);
|
||||||
QAction* toggleViewAction = m_ui->toolBar->toggleViewAction();
|
|
||||||
toggleViewAction->setText(tr("Show toolbar"));
|
|
||||||
m_ui->menuView->addAction(toggleViewAction);
|
|
||||||
bool showToolbar = config()->get("ShowToolbar").toBool();
|
|
||||||
m_ui->toolBar->setVisible(showToolbar);
|
|
||||||
connect(m_ui->toolBar, SIGNAL(visibilityChanged(bool)), this, SLOT(saveToolbarState(bool)));
|
|
||||||
|
|
||||||
m_clearHistoryAction = new QAction(tr("Clear history"), m_ui->menuFile);
|
m_clearHistoryAction = new QAction(tr("Clear history"), m_ui->menuFile);
|
||||||
m_lastDatabasesActions = new QActionGroup(m_ui->menuRecentDatabases);
|
m_lastDatabasesActions = new QActionGroup(m_ui->menuRecentDatabases);
|
||||||
|
@ -260,15 +260,9 @@
|
|||||||
<addaction name="actionPasswordGenerator"/>
|
<addaction name="actionPasswordGenerator"/>
|
||||||
<addaction name="actionSettings"/>
|
<addaction name="actionSettings"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuView">
|
|
||||||
<property name="title">
|
|
||||||
<string>&View</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<addaction name="menuFile"/>
|
<addaction name="menuFile"/>
|
||||||
<addaction name="menuEntries"/>
|
<addaction name="menuEntries"/>
|
||||||
<addaction name="menuGroups"/>
|
<addaction name="menuGroups"/>
|
||||||
<addaction name="menuView"/>
|
|
||||||
<addaction name="menuTools"/>
|
<addaction name="menuTools"/>
|
||||||
<addaction name="menuHelp"/>
|
<addaction name="menuHelp"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user