fix(app-data-service):修复pid转desktop接口失效问题
This commit is contained in:
parent
aae33d4e89
commit
5b547a6699
|
@ -1343,7 +1343,7 @@ bool AppDBManager::handleValueSet(const ApplicationInfoMap appInfoMap)
|
|||
QString AppDBManager::tranPidToDesktopFp(uint pid)
|
||||
{
|
||||
QString desktopFilePath;
|
||||
QDBusReply<QString> reply = m_processManagerInterface->call("GetDesktopFileByPid", pid);
|
||||
QDBusReply<QString> reply = m_processManagerInterface->call("GetDesktopFileByPid", static_cast<int>(pid));
|
||||
if (reply.isValid()) {
|
||||
desktopFilePath = reply.value();
|
||||
qDebug() << "PID: " << pid << "Desktop file path: " << desktopFilePath;
|
||||
|
|
Loading…
Reference in New Issue