From: <geo...@us...> - 2014-02-02 00:45:41
|
Revision: 6797 http://sourceforge.net/p/freeorion/code/6797 Author: geoffthemedio Date: 2014-02-02 00:45:35 +0000 (Sun, 02 Feb 2014) Log Message: ----------- grooming Modified Paths: -------------- trunk/FreeOrion/UI/CombatWnd.cpp Modified: trunk/FreeOrion/UI/CombatWnd.cpp =================================================================== --- trunk/FreeOrion/UI/CombatWnd.cpp 2014-02-01 23:53:51 UTC (rev 6796) +++ trunk/FreeOrion/UI/CombatWnd.cpp 2014-02-02 00:45:35 UTC (rev 6797) @@ -2023,17 +2023,17 @@ void CombatWnd::ConnectKeyboardAcceleratorSignals() { HotkeyManager * hkm = HotkeyManager::GetManager(); - hkm->Connect(this, &CombatWnd::OpenChatWindow, "combat.open_chat"); - hkm->Connect(this, &CombatWnd::ShowMenu, "combat.menu"); - hkm->Connect(this, &CombatWnd::KeyboardZoomIn, "combat.zoom_in"); - hkm->Connect(this, &CombatWnd::KeyboardZoomIn, "combat.zoom_in_alt"); - hkm->Connect(this, &CombatWnd::KeyboardZoomOut, "combat.zoom_out"); - hkm->Connect(this, &CombatWnd::KeyboardZoomOut, "combat.zoom_out_alt"); - hkm->Connect(this, &CombatWnd::ZoomToPrevUnit, "combat.zoom_prev_unit"); - hkm->Connect(this, &CombatWnd::ZoomToNextUnit, "combat.zoom_next_unit"); - hkm->Connect(this, &CombatWnd::ZoomToPrevIdleUnit, "combat.zoom_prev_idle_unit"); - hkm->Connect(this, &CombatWnd::ZoomToNextIdleUnit, "combat.zoom_next_idle_unit"); - + hkm->Connect(this, &CombatWnd::OpenChatWindow, "combat.open_chat"); + hkm->Connect(this, &CombatWnd::ShowMenu, "combat.menu"); + hkm->Connect(this, &CombatWnd::KeyboardZoomIn, "combat.zoom_in"); + hkm->Connect(this, &CombatWnd::KeyboardZoomIn, "combat.zoom_in_alt"); + hkm->Connect(this, &CombatWnd::KeyboardZoomOut, "combat.zoom_out"); + hkm->Connect(this, &CombatWnd::KeyboardZoomOut, "combat.zoom_out_alt"); + hkm->Connect(this, &CombatWnd::ZoomToPrevUnit, "combat.zoom_prev_unit"); + hkm->Connect(this, &CombatWnd::ZoomToNextUnit, "combat.zoom_next_unit"); + hkm->Connect(this, &CombatWnd::ZoomToPrevIdleUnit, "combat.zoom_prev_idle_unit"); + hkm->Connect(this, &CombatWnd::ZoomToNextIdleUnit, "combat.zoom_next_idle_unit"); + hkm->RebuildShortcuts(); } |