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;