1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

Moved input handling from GuiHandler to set of classes in eventsSDL dir

This commit is contained in:
Ivan Savenko
2023-05-18 20:32:29 +03:00
parent 5bd044521a
commit 5e86b00dda
27 changed files with 968 additions and 600 deletions

View File

@ -224,7 +224,7 @@ EShortcut InterfaceObjectConfigurable::readHotkey(const JsonNode & config) const
return EShortcut::NONE;
}
EShortcut result = GH.shortcutsHandler().findShortcut(config.String());
EShortcut result = GH.shortcuts().findShortcut(config.String());
if (result == EShortcut::NONE)
logGlobal->error("Invalid hotkey '%s' in interface configuration!", config.String());
return result;;