Fix bug#161875, black and white list policy cause resort icons issue.

This commit is contained in:
hemh 2023-03-30 15:10:51 +08:00 committed by Yue-Lan
parent 0a53a09ec8
commit a13501abb5
1 changed files with 4 additions and 2 deletions

View File

@ -2416,8 +2416,10 @@ int DesktopIconView::updateBWList()
/*
*
*/
int sortType = GlobalSettings::getInstance()->getValue(LAST_DESKTOP_SORT_ORDER).toInt();
setSortType(sortType);
// int sortType = GlobalSettings::getInstance()->getValue(LAST_DESKTOP_SORT_ORDER).toInt();
// setSortType(sortType);
//不可重新排序会丢失位置只做检查调整空缺和重叠情况相关bug#161875
resolutionChange();
return 0;
}