From 934d63d395684626cdfc2fc1170d7424955e7cd7 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 3 Jul 2015 16:09:46 +0200 Subject: add Download*ToDisk web actions Add the web actions DownloadLinkToDisk, DownloadImageToDisk and DownloadMediaToDisk. Change-Id: If6c9c8a3f4b95ad3032cff71ffc53a48be26e083 Reviewed-by: Allan Sandfeld Jensen --- src/core/web_contents_view_qt.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/web_contents_view_qt.cpp') 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; } -- cgit v1.2.3