mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Replaced the loop to fill m_sizeHintCache with QSizeF() by a simple m_sizeHintCache.fill() in KItemListSizeHintResolver::clearCache().
REVIEW: 112179
This commit is contained in:
parent
cdae9ab703
commit
38adcc0c1c
1 changed files with 1 additions and 4 deletions
|
@ -139,8 +139,5 @@ void KItemListSizeHintResolver::itemsChanged(int index, int count, const QSet<QB
|
|||
|
||||
void KItemListSizeHintResolver::clearCache()
|
||||
{
|
||||
const int count = m_sizeHintCache.count();
|
||||
for (int i = 0; i < count; ++i) {
|
||||
m_sizeHintCache[i] = QSizeF();
|
||||
}
|
||||
m_sizeHintCache.fill(QSizeF());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue