diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/ei_services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/ei_services.cpp b/src/mir_app/src/ei_services.cpp index dbd905a978..eccf9b9eea 100644 --- a/src/mir_app/src/ei_services.cpp +++ b/src/mir_app/src/ei_services.cpp @@ -194,23 +194,23 @@ void RebuildListsBasedOnGroups(LIST<ExtraIconGroup> &groups) MIR_APP_DLL(void) KillModuleExtraIcons(int _hLang) { - LIST<ExtraIcon> arDeleted(1); + LIST<ExtraIcon> arIcons(1); auto T = registeredExtraIcons.rev_iter(); for (auto &it : T) if (it->m_hLangpack == _hLang) { - arDeleted.insert(it); + arIcons.insert(it); registeredExtraIcons.remove(T.indexOf(&it)); } - if (arDeleted.getCount() == 0) + if (arIcons.getCount() == 0) return; LIST<ExtraIconGroup> groups(1); LoadGroups(groups); RebuildListsBasedOnGroups(groups); - for (auto &it : arDeleted) + for (auto &it : arIcons) delete it; } |