fix: correct action key

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe 2023-08-31 16:25:21 +08:00 committed by Comix
parent 1fb4539792
commit c99a1b5d6a

View File

@ -99,7 +99,7 @@ QDBusObjectPath ApplicationService::Launch(const QString &action, const QStringL
break; break;
} }
const auto &actionHeader = QString{"%1%2"}.arg(DesktopFileEntryKey, action); const auto &actionHeader = QString{"%1%2"}.arg(DesktopFileActionKey, action);
const auto &actionExec = m_entry->value(actionHeader, "Exec"); const auto &actionExec = m_entry->value(actionHeader, "Exec");
if (!actionExec) { if (!actionExec) {
break; break;