summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/config.cpp')
-rw-r--r--plugins/Clist_nicer/src/config.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/config.cpp b/plugins/Clist_nicer/src/config.cpp
index 9f9413bec6..010a29cdfa 100644
--- a/plugins/Clist_nicer/src/config.cpp
+++ b/plugins/Clist_nicer/src/config.cpp
@@ -66,10 +66,8 @@ TExtraCache* cfg::getCache(const MCONTACT hContact, const char *szProto)
void ReloadSkinItemsToCache()
{
- for (int i = 0; i < cfg::arCache.getCount(); i++) {
- TExtraCache *p = cfg::arCache[i];
+ for (auto &p : cfg::arCache)
LoadSkinItemToCache(p);
- }
}
void CSH_Destroy()