diff --git a/apps/openmw/mwgui/quickkeysmenu.cpp b/apps/openmw/mwgui/quickkeysmenu.cpp index 47bc88c8b..4bfbd4dac 100644 --- a/apps/openmw/mwgui/quickkeysmenu.cpp +++ b/apps/openmw/mwgui/quickkeysmenu.cpp @@ -33,7 +33,7 @@ namespace MWGui QuickKeysMenu::QuickKeysMenu() : WindowBase("openmw_quickkeys_menu.layout") - , mKey(std::vector(10)) + , mKey(std::vector(10)) , mSelected(nullptr) , mActivated(nullptr) , mAssignDialog(0) @@ -116,7 +116,7 @@ namespace MWGui } } - void QuickKeysMenu::unassign(struct keyData* key) + void QuickKeysMenu::unassign(keyData* key) { key->button->clearUserStrings(); key->button->setItem(MWWorld::Ptr()); @@ -306,7 +306,7 @@ namespace MWGui { assert(index >= 1 && index <= 9); - struct keyData *key = &mKey[index-1]; + keyData *key = &mKey[index-1]; MWWorld::Ptr player = MWMechanics::getPlayer(); MWWorld::InventoryStore& store = player.getClass().getInventoryStore(player); diff --git a/apps/openmw/mwgui/quickkeysmenu.hpp b/apps/openmw/mwgui/quickkeysmenu.hpp index 56394d660..6d2ab8494 100644 --- a/apps/openmw/mwgui/quickkeysmenu.hpp +++ b/apps/openmw/mwgui/quickkeysmenu.hpp @@ -65,7 +65,7 @@ namespace MWGui keyData(): index(-1), button(nullptr), type(Type_Unassigned), id(""), name("") {} }; - std::vector mKey; + std::vector mKey; struct keyData* mSelected; struct keyData* mActivated;