From 84923e5c4df0ab83c0ca01d26052e670a1f24ab8 Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Sun, 9 Jan 2022 22:18:53 +0800 Subject: [PATCH] fix:save image (right context menu on image action) --- articleview.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/articleview.cc b/articleview.cc index 1278dc4f..ef94051c 100644 --- a/articleview.cc +++ b/articleview.cc @@ -1947,8 +1947,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos ) else if( result == saveImageAction || result == saveSoundAction ) { -// QUrl url = ( result == saveImageAction ) ? imageUrl : targetUrl; - QUrl url = targetUrl; + QUrl url = ( result == saveImageAction ) ? imageUrl : targetUrl; QString savePath; QString fileName;