build: Clear out remaining compile warnings. (#6662)

This commit is contained in:
Steveice10 2023-07-04 21:00:24 -07:00 committed by GitHub
parent 2126c240cd
commit 13a8969824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 117 additions and 103 deletions

View file

@ -26,7 +26,7 @@ void HotkeyRegistry::SaveHotkeys() {
void HotkeyRegistry::LoadHotkeys() {
// Make sure NOT to use a reference here because it would become invalid once we call
// beginGroup()
for (const auto shortcut : UISettings::values.shortcuts) {
for (auto shortcut : UISettings::values.shortcuts) {
Hotkey& hk = hotkey_groups[shortcut.group][shortcut.name];
if (!shortcut.shortcut.keyseq.isEmpty()) {
hk.keyseq =