RefreshKeyInfo is used to update mKeys vector only Introduced for efficiency purposes to avoid unnecessary usage of RefreshBinding
| 357 | // RefreshKeyInfo is used to update mKeys vector only |
| 358 | // Introduced for efficiency purposes to avoid unnecessary usage of RefreshBinding |
| 359 | void KeyConfigPrefs::RefreshKeyInfo() |
| 360 | { |
| 361 | mKeys.clear(); |
| 362 | |
| 363 | for (const auto & name : mNames) |
| 364 | mKeys.push_back(mManager->GetKeyFromName(name)); |
| 365 | } |
| 366 | |
| 367 | // Removes all shortcuts |
| 368 | // Doesn't call RefreshBindings() |
nothing calls this directly
no test coverage detected