summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-19 20:37:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-19 20:37:58 +0300
commita573f9a562e0ac0b1ae93560e6fdb8b941265c26 (patch)
tree8a0960696cc798dd480546f455eaac234400f2a6
parent03abc0234e40183256bba3d2b9cdf809d92363f2 (diff)
code cleaning
-rw-r--r--src/mir_app/src/ei_services.cpp8
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;
}