summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_view_qt.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-03 16:09:46 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-06 16:53:16 +0000
commit934d63d395684626cdfc2fc1170d7424955e7cd7 (patch)
treed31438d66725ce121f67030ce4999c1ea52d3041 /src/core/web_contents_view_qt.cpp
parent9b70ebd22d58a89ca605f1f7ea602148b183055f (diff)
add Download*ToDisk web actions
Add the web actions DownloadLinkToDisk, DownloadImageToDisk and DownloadMediaToDisk. Change-Id: If6c9c8a3f4b95ad3032cff71ffc53a48be26e083 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/web_contents_view_qt.cpp')
-rw-r--r--src/core/web_contents_view_qt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_contents_view_qt.cpp b/src/core/web_contents_view_qt.cpp
index 340d7b33e..004800d5a 100644
--- a/src/core/web_contents_view_qt.cpp
+++ b/src/core/web_contents_view_qt.cpp
@@ -142,6 +142,7 @@ static WebEngineContextMenuData fromParams(const content::ContextMenuParams &par
ret.mediaType = (WebEngineContextMenuData::MediaType)params.media_type;
ret.hasImageContent = params.has_image_contents;
ret.mediaFlags = params.media_flags;
+ ret.suggestedFileName = toQt(params.suggested_filename.data());
return ret;
}