From 8bcf44ba0745cacbec4f076bf5d340d38996c26d Mon Sep 17 00:00:00 2001 From: youdiansaodongxi Date: Mon, 14 Aug 2023 10:13:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(appdata)=EF=BC=9ADefects=20in=20the=20icon?= =?UTF-8?q?=20still=20present=20in=20the=20start=20menu=20after=20modifyin?= =?UTF-8?q?g=20the=20uninstallation=20of=20mobile=20applications=EF=BC=88I?= =?UTF-8?q?7MS3O=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appdata/app-data-manager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/appdata/app-data-manager.cpp b/src/appdata/app-data-manager.cpp index 81594e4..3b44f5a 100644 --- a/src/appdata/app-data-manager.cpp +++ b/src/appdata/app-data-manager.cpp @@ -179,6 +179,9 @@ void AppDataWorker::appendApps(const QStringList &infos, QList &apps continue; } + if (m_appManager->m_normalApps.contains(info)) { + continue; + } DataEntity app; addInfoToApp(appInfo, app); m_appManager->m_normalApps.insert(app.id(), app);