3 #include <QDesktopServices>
19 tmp.replace(QChar(
'\\'), QChar(
'/'));
20 QUrl url(QStringLiteral(
"file:///"));
21 url.setPath(tmp, QUrl::DecodedMode);
22 return QDesktopServices::openUrl(url);
24 QUrl url(QStringLiteral(
"file://"));
25 url.setPath(path, QUrl::DecodedMode);
26 return QDesktopServices::openUrl(url);