Preserve icon positions across theme changes.

This commit is contained in:
Eike Hein 2013-05-20 03:07:47 +02:00
parent 48145668a8
commit ff68ed3e6a

View file

@ -1635,6 +1635,9 @@ void IconView::checkIfFolderResult(const QModelIndex &index, bool isFolder)
void IconView::svgChanged()
{
setIconPositionsData(iconPositionsData());
m_delayedCacheClearTimer.start(5000, this);
for (int i = 0; i < m_validRows; ++i) {
m_items[i].needSizeAdjust = true;
}