修复打开文件所在目录接口缺少参数问题

This commit is contained in:
hewenfei 2023-06-09 16:15:46 +08:00 committed by He Sir
parent 287081aaad
commit 95406ad135
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ void RecentFileExtension::creatMenu(const QString &path, const int &index)
QDBusMessage message = QDBusMessage::createMethodCall(FREEDESKTOP_FILEMANAGER_NAME, QDBusMessage message = QDBusMessage::createMethodCall(FREEDESKTOP_FILEMANAGER_NAME,
FREEDESKTOP_FILEMANAGER_PATH, FREEDESKTOP_FILEMANAGER_PATH,
FREEDESKTOP_FILEMANAGER_INTERFACE, "ShowFolders"); FREEDESKTOP_FILEMANAGER_INTERFACE, "ShowFolders");
message << QStringList(path); message << QStringList(path) << "ukui-menu-recent-file";
QDBusConnection::sessionBus().asyncCall(message); QDBusConnection::sessionBus().asyncCall(message);
}); });