From 7961c397cc921d70fc56494c0d9002303457e90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Mon, 24 Aug 2015 18:31:59 +0300 Subject: [PATCH] UI|Task Bar: Reordered menu items under "Games" Unload is analogous to Quit, so both are at the end of their groups. --- .../apps/client/src/ui/widgets/taskbarwidget.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doomsday/apps/client/src/ui/widgets/taskbarwidget.cpp b/doomsday/apps/client/src/ui/widgets/taskbarwidget.cpp index 0ad8be8403..1a040e051a 100644 --- a/doomsday/apps/client/src/ui/widgets/taskbarwidget.cpp +++ b/doomsday/apps/client/src/ui/widgets/taskbarwidget.cpp @@ -66,10 +66,10 @@ enum MenuItemPositions { // DE menu: POS_GAMES = 1, - POS_UNLOAD = 2, - POS_GAMES_SEPARATOR = 3, - POS_MULTIPLAYER = 4, - POS_CONNECT = 5, + POS_MULTIPLAYER = 2, + POS_CONNECT = 3, + POS_GAMES_SEPARATOR = 4, + POS_UNLOAD = 5, POS_IWAD_FOLDER = 8, // Config menu: @@ -448,11 +448,11 @@ TaskBarWidget::TaskBarWidget() : GuiWidget("taskbar"), d(new Instance(this)) d->mainMenu->items() << new ui::Item(ui::Item::Separator, tr("Games")) << new ui::ActionItem(tr("Switch Game..."), new SignalAction(this, SLOT(switchGame()))) - << unloadMenu // hidden with null-game - << new ui::Item(ui::Item::Separator) << new ui::ActionItem(tr("Multiplayer Games..."), new SignalAction(this, SLOT(showMultiplayer()))) << new ui::ActionItem(tr("Connect to Server..."), new SignalAction(this, SLOT(connectToServerManually()))) << new ui::Item(ui::Item::Separator) + << unloadMenu // hidden with null-game + << new ui::Item(ui::Item::Separator) << new ui::Item(ui::Item::Separator, tr("Application")) << new ui::ActionItem(tr("IWAD Folder..."), new SignalAction(this, SLOT(chooseIWADFolder()))) << new ui::ActionItem(tr("Check for Updates..."), new CommandAction("updateandnotify"))