diff options
| author | Méven Car <[email protected]> | 2026-01-22 17:08:11 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-01-22 17:18:41 +0100 |
| commit | 1bfd5edb5a573cd62a594d5dc6a1a5b35232ac05 (patch) | |
| tree | 9dc5c0a3b3bbd631813c8ae391931a93eac5294e /src/kitemviews/private/kitemlistviewanimation.cpp | |
| parent | 7570ba16a9cbc911df7a03394d2128c63d8032da (diff) | |
clang-tidy: fix modernize-loop-convert
Diffstat (limited to 'src/kitemviews/private/kitemlistviewanimation.cpp')
| -rw-r--r-- | src/kitemviews/private/kitemlistviewanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/private/kitemlistviewanimation.cpp b/src/kitemviews/private/kitemlistviewanimation.cpp index e07961e31..2ea884461 100644 --- a/src/kitemviews/private/kitemlistviewanimation.cpp +++ b/src/kitemviews/private/kitemlistviewanimation.cpp @@ -19,8 +19,8 @@ KItemListViewAnimation::KItemListViewAnimation(QObject *parent) KItemListViewAnimation::~KItemListViewAnimation() { - for (int type = 0; type < AnimationTypeCount; ++type) { - qDeleteAll(m_animation[type]); + for (const auto &type : m_animation) { + qDeleteAll(type); } } |
