From 5b547a6699ee5fd1c60a1d3e5ef7e53e6bbc4bf7 Mon Sep 17 00:00:00 2001 From: iaom Date: Tue, 6 Feb 2024 16:49:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(app-data-service):=E4=BF=AE=E5=A4=8Dpid?= =?UTF-8?q?=E8=BD=ACdesktop=E6=8E=A5=E5=8F=A3=E5=A4=B1=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ukui-search-app-data-service/app-db-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ukui-search-app-data-service/app-db-manager.cpp b/ukui-search-app-data-service/app-db-manager.cpp index e3f1d28..5e9a0b4 100644 --- a/ukui-search-app-data-service/app-db-manager.cpp +++ b/ukui-search-app-data-service/app-db-manager.cpp @@ -1343,7 +1343,7 @@ bool AppDBManager::handleValueSet(const ApplicationInfoMap appInfoMap) QString AppDBManager::tranPidToDesktopFp(uint pid) { QString desktopFilePath; - QDBusReply reply = m_processManagerInterface->call("GetDesktopFileByPid", pid); + QDBusReply reply = m_processManagerInterface->call("GetDesktopFileByPid", static_cast(pid)); if (reply.isValid()) { desktopFilePath = reply.value(); qDebug() << "PID: " << pid << "Desktop file path: " << desktopFilePath;