fix:save image (right context menu on image action)

This commit is contained in:
xiaoyifang 2022-01-09 22:18:53 +08:00
parent c3db39499b
commit 84923e5c4d

View file

@ -1947,8 +1947,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
else else
if( result == saveImageAction || result == saveSoundAction ) if( result == saveImageAction || result == saveSoundAction )
{ {
// QUrl url = ( result == saveImageAction ) ? imageUrl : targetUrl; QUrl url = ( result == saveImageAction ) ? imageUrl : targetUrl;
QUrl url = targetUrl;
QString savePath; QString savePath;
QString fileName; QString fileName;