Skip to content

Commit

Permalink
fix: clazy-strict-iterators warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed Nov 8, 2024
1 parent 78dce94 commit 76e4a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/tabledelegates/coverartdelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ void CoverArtDelegate::paintItem(
}

void CoverArtDelegate::cleanCacheMissRows() const {
auto it = m_cacheMissRows.begin();
while (it != m_cacheMissRows.end()) {
auto it = m_cacheMissRows.cbegin();
while (it != m_cacheMissRows.cend()) {
const QModelIndex index = m_pTableView->model()->index(*it, m_column);
const QRect rect = m_pTableView->visualRect(index);
if (!rect.intersects(m_pTableView->rect())) {
Expand Down

0 comments on commit 76e4a40

Please sign in to comment.