forked from openkylin/ukui-menu
修复功能分类数据在卸载应用后数据重复问题
This commit is contained in:
parent
29faf8dfd2
commit
63caa1841e
|
@ -182,6 +182,7 @@ void AppCategoryPlugin::reLoadApps()
|
|||
|
||||
for (auto &item : d->categoryData) {
|
||||
item.label.setDisable(true);
|
||||
item.apps.clear();
|
||||
}
|
||||
|
||||
QList<DataEntity> apps = AppDataManager::instance()->normalApps();
|
||||
|
|
Loading…
Reference in New Issue