diff --git a/src/extension/menu/app-menu-plugin.cpp b/src/extension/menu/app-menu-plugin.cpp index 1a66284..e9711ea 100644 --- a/src/extension/menu/app-menu-plugin.cpp +++ b/src/extension/menu/app-menu-plugin.cpp @@ -21,6 +21,7 @@ #include "app-manager.h" #include "../context-menu-extension.h" #include "basic-app-model.h" +#include "user-config.h" #include #include @@ -182,6 +183,7 @@ void AppContentMenu::addUninstall(QObject *parent, const QString &appId, QList &list) { if (appLaunched == 1) return; + if (UserConfig::instance()->isPreInstalledApps(appId)) return; QDateTime installDate = QDateTime::fromString(appInsertTime, "yyyy-MM-dd hh:mm:ss"); if (!installDate.isValid()) return;