From c9cb15a86227f389020c89df9dbbc20c7e13f47f Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 21 Sep 2024 22:09:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=94=AF=E6=8C=81X-DDE-FileM?= =?UTF-8?q?anager-NotShowIn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dde-file-manager-lib/interfaces/dfilemenumanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dde-file-manager-lib/interfaces/dfilemenumanager.cpp b/dde-file-manager-lib/interfaces/dfilemenumanager.cpp index 9d5a9fd..8ddc562 100644 --- a/dde-file-manager-lib/interfaces/dfilemenumanager.cpp +++ b/dde-file-manager-lib/interfaces/dfilemenumanager.cpp @@ -542,6 +542,9 @@ QList DFileMenuManager::desktopToActions(const QString data, const DU i.startsWith("X-DFM-SupportSuffix=")) { suffix = i.replace("X-DDE-FileManager-SupportSuffix=", "").replace("X-DFM-SupportSuffix=", ""); } + else if (i.startsWith("X-DDE-FileManager-NotShowIn=")) { + notShowIn << i.replace("X-DDE-FileManager-NotShowIn=", "").split(";"); + } } qDebug() << exec;