mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Ladybird: Add two separators to menus
This commit is contained in:
parent
9ecfacaffd
commit
e8af912e30
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,8 @@ BrowserWindow::BrowserWindow(Browser::CookieJar& cookie_jar, StringView webdrive
|
|||
close_current_tab_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Close));
|
||||
menu->addAction(close_current_tab_action);
|
||||
|
||||
menu->addSeparator();
|
||||
|
||||
auto* quit_action = new QAction("&Quit", this);
|
||||
quit_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Quit));
|
||||
menu->addAction(quit_action);
|
||||
|
@ -83,6 +85,8 @@ BrowserWindow::BrowserWindow(Browser::CookieJar& cookie_jar, StringView webdrive
|
|||
edit_menu->addAction(m_select_all_action);
|
||||
QObject::connect(m_select_all_action, &QAction::triggered, this, &BrowserWindow::select_all);
|
||||
|
||||
edit_menu->addSeparator();
|
||||
|
||||
auto* settings_action = new QAction("&Settings", this);
|
||||
settings_action->setIcon(QIcon(QString("%1/res/icons/16x16/settings.png").arg(s_serenity_resource_root.characters())));
|
||||
settings_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Preferences));
|
||||
|
|
Loading…
Add table
Reference in a new issue