Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    qt/hotkey: Get rid of global hotkey map instance · c8f67544
    Lioncash authored
    Instead, we make a proper registry class and house it within the main
    window, then pass it to whatever needs access to the loaded hotkeys.
    
    This way, we avoid a global variable, and don't need to initialize a
    std::map instance before the program can do anything.
    c8f67544