From 996731ad92209bd97af913c532f1571dc82c7320 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Sat, 13 Aug 2022 17:42:41 +0200 Subject: [PATCH] Add two separators to the multiplayer menu This improves item grouping and thus usability. See #1237. --- client/menu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/menu.cpp b/client/menu.cpp index 96b16f404e..1e6a1775dc 100644 --- a/client/menu.cpp +++ b/client/menu.cpp @@ -926,6 +926,7 @@ void mr_menu::setup_menus() act = multiplayer_menu->addAction(_("Clear Orders")); act->setShortcut(QKeySequence(tr("ctrl+shift+c"))); connect(act, &QAction::triggered, this, &mr_menu::slot_orders_clear); + multiplayer_menu->addSeparator(); act = multiplayer_menu->addAction(_("Add all cities to trade planning")); connect(act, &QAction::triggered, this, &mr_menu::slot_trade_add_all); act = multiplayer_menu->addAction(_("Calculate trade planning")); @@ -939,6 +940,7 @@ void mr_menu::setup_menus() menu_list.insert(AUTOTRADEROUTE, act); connect(act, &QAction::triggered, this, &mr_menu::slot_autocaravan); act->setShortcut(QKeySequence(tr("ctrl+j"))); + multiplayer_menu->addSeparator(); act = multiplayer_menu->addAction(_("Set/Unset rally point")); act->setShortcut(QKeySequence(tr("shift+s"))); connect(act, &QAction::triggered, this, &mr_menu::slot_rally);