mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
fix:save image (right context menu on image action)
This commit is contained in:
parent
c3db39499b
commit
84923e5c4d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue