Merge branch 'ukss-dev-str' into 'ukss-dev'

修改qurl为qstring

See merge request kylin-desktop/ukui-search!341
This commit is contained in:
PengfeiZhang 2022-06-28 09:38:31 +00:00
commit 6e77965a96
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ int FileUtils::openFile(QString &path, bool openInDir)
isSuccess = false;
} else {
appLaunchInterface->setTimeout(10000);
QDBusReply<bool> reply = appLaunchInterface->call("LaunchDefaultAppWithUrl", QUrl::fromLocalFile(path));
QDBusReply<bool> reply = appLaunchInterface->call("LaunchDefaultAppWithUrl", QUrl::fromLocalFile(path).toString());
if(reply.isValid()) {
isSuccess = reply;
} else {