]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinitemlistcontainer.cpp
Group header improvements
[dolphin.git] / src / views / dolphinitemlistcontainer.cpp
index 4f7a0e06b16ac89d378643b69e203cc188c656b1..65f69d963219592116949fb3a573a27b0bcdb43d 100644 (file)
@@ -242,8 +242,10 @@ void DolphinItemListContainer::updateGridSize()
     // Apply the calculated values
     styleOption.margin = innerMargin;
     styleOption.iconSize = iconSize;
+    m_fileItemListView->beginTransaction();
     m_fileItemListView->setStyleOption(styleOption);
     m_fileItemListView->setItemSize(QSizeF(itemWidth, itemHeight));
+    m_fileItemListView->endTransaction();
 }
 
 void DolphinItemListContainer::updateFont()