forked from openkylin/ukui-menu
修复打开文件所在目录接口缺少参数问题
This commit is contained in:
parent
287081aaad
commit
95406ad135
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue