Skip to content

Commit

Permalink
尝试支持X-DDE-FileManager-NotShowIn
Browse files Browse the repository at this point in the history
  • Loading branch information
gfdgd-xi committed Sep 21, 2024
1 parent 8b08fa6 commit c9cb15a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dde-file-manager-lib/interfaces/dfilemenumanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ QList<QAction *> 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;

Expand Down

0 comments on commit c9cb15a

Please sign in to comment.