mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34: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
|
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue