diff options
Diffstat (limited to 'plugins/Clist_modern/src/modern_xptheme.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_xptheme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_xptheme.cpp b/plugins/Clist_modern/src/modern_xptheme.cpp index 56fb39f0cf..6122fa21f6 100644 --- a/plugins/Clist_modern/src/modern_xptheme.cpp +++ b/plugins/Clist_modern/src/modern_xptheme.cpp @@ -86,8 +86,8 @@ void xpt_OnWM_THEMECHANGED() {
mir_cslock lck(xptCS);
- for (int i = 0; i < xptObjectList.getCount(); i++)
- _sttXptReloadThemeData(&xptObjectList[i]);
+ for (auto &it : xptObjectList)
+ _sttXptReloadThemeData(it);
}
HRESULT xpt_DrawThemeBackground(XPTHANDLE xptHandle, HDC hdc, int type, int state, const RECT *sizeRect, const RECT *clipRect)
|