Add "Copy Image" option into images context menu

This commit is contained in:
Abs62 2013-05-25 22:09:16 +04:00
parent 7669d4f788
commit 3aa974b875

View file

@ -1323,6 +1323,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
imageUrl = QUrl::fromPercentEncoding( el.attribute( "src" ).toLatin1() );
if( !imageUrl.isEmpty() )
{
menu.addAction( ui.definition->pageAction( QWebPage::CopyImageToClipboard ) );
saveImageAction = new QAction( tr( "Save &image..." ), &menu );
menu.addAction( saveImageAction );
}