diff --git a/src/modules/launcher/launcher.cpp b/src/modules/launcher/launcher.cpp index 3c8a0e8..1ec168b 100644 --- a/src/modules/launcher/launcher.cpp +++ b/src/modules/launcher/launcher.cpp @@ -555,6 +555,7 @@ void Launcher::onCheckDesktopFile(const QString &filePath, int type) // remove item const Item &item = itemsMap[filePath]; removeDesktop(filePath); + emitItemChanged(&item, appStatusDeleted); } } @@ -983,6 +984,8 @@ void Launcher::doUninstall(DesktopInfo &info, const Item &item) return; } + removeDesktop(item.info.path); + Q_EMIT uninstallSuccess(item.info.path); // 浮窗通知