diff options
| author | 2016-04-30 18:48:40 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:45 +0100 | |
| commit | 97ecdf6a1b7f95bc1b342b3eaf141cd460249680 (patch) | |
| tree | dfa139170f95eeda51f241580cc019ab0f4684d8 /src/modules/theme | |
| parent | Apply clang-tidy: modernize-use-default (diff) | |
| download | KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.tar.gz KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.tar.bz2 KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.zip | |
Apply clang-tidy: modernize-loop-convert
Diffstat (limited to 'src/modules/theme')
| -rw-r--r-- | src/modules/theme/ThemeFunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/theme/ThemeFunctions.cpp b/src/modules/theme/ThemeFunctions.cpp index 90e5a3bdc..0f9b92de4 100644 --- a/src/modules/theme/ThemeFunctions.cpp +++ b/src/modules/theme/ThemeFunctions.cpp @@ -91,9 +91,9 @@ namespace ThemeFunctions return notAValidThemePackage(szError); // make sure the default fields exist - for(int i = 0; i < 6; i++) + for(auto & check_field : check_fields) { - pValue = pInfoFields->find(check_fields[i]); + pValue = pInfoFields->find(check_field); if(!pValue) return notAValidThemePackage(szError); } |
