Merge branch 'ukss-dev-str' into 'ukss-dev'
修改qurl为qstring See merge request kylin-desktop/ukui-search!341
This commit is contained in:
commit
6e77965a96
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue