mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Preserve icon positions across theme changes.
This commit is contained in:
parent
48145668a8
commit
ff68ed3e6a
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue