diff --git a/libsearch/file-utils.cpp b/libsearch/file-utils.cpp index 79ee376..262d032 100644 --- a/libsearch/file-utils.cpp +++ b/libsearch/file-utils.cpp @@ -841,7 +841,7 @@ int FileUtils::openFile(QString &path, bool openInDir) isSuccess = false; } else { appLaunchInterface->setTimeout(10000); - QDBusReply reply = appLaunchInterface->call("LaunchDefaultAppWithUrl", "file:"+(path)); + QDBusReply reply = appLaunchInterface->call("LaunchDefaultAppWithUrl", QUrl::fromLocalFile(path)); if(reply.isValid()) { isSuccess = reply; } else {