This results in less overhead if item-changes are done rather fast
(e.g. when applying the number of sub directories for the "size"
role).
if (updateSizeHints) {
m_sizeHintResolver->itemsChanged(index, count, roles);
m_layouter->markAsDirty();
if (updateSizeHints) {
m_sizeHintResolver->itemsChanged(index, count, roles);
m_layouter->markAsDirty();
+ if (!m_layoutTimer->isActive()) {
+ m_layoutTimer->start();
+ }
}
// Apply the changed roles to the visible item-widgets
}
// Apply the changed roles to the visible item-widgets