summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-11-20 16:54:17 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-11-20 16:54:42 +0100
commit8a1fadd42dafb8abc54b7e9529f7db1200c643fa (patch)
tree2975b1546452d2a17fa4a7a4fe4e3ba2e327c591 /examples
parent1173d48149a8133b607894b67e1ec32de68e21e8 (diff)
parent5a8bae70bb6caf01c262ed3a607c736ea72561b9 (diff)
Merge remote-tracking branch 'origin/5.5' into 5.6
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);
}