summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-12-03 19:36:29 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-12-03 19:36:29 +0100
commit90d3044e3a6ad58819be6787b5edcbc9daa948dc (patch)
tree27d54322988fe60a420bbb058608b9b9d637329b /examples
parent03301c0fbdf034fb987e1c1ed1bec7c206dcd27e (diff)
parentd0ae9b50cc01e4c0f65f17467276d4af40284ae1 (diff)
Merge remote-tracking branch 'origin/5.6' into dev
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/demobrowser/downloadmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/demobrowser/downloadmanager.cpp b/examples/webenginewidgets/demobrowser/downloadmanager.cpp
index eab28942..1c33f12c 100644
--- a/examples/webenginewidgets/demobrowser/downloadmanager.cpp
+++ b/examples/webenginewidgets/demobrowser/downloadmanager.cpp
@@ -149,7 +149,7 @@ void DownloadWidget::stop()
void DownloadWidget::open()
{
- QUrl url = QUrl::fromLocalFile(m_file.absolutePath());
+ QUrl url = QUrl::fromLocalFile(m_file.absoluteFilePath());
QDesktopServices::openUrl(url);
}