mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Merge pull request #138 from pejakm/master
[Fix] Send image menu entry on image context menu
This commit is contained in:
commit
f219877c24
|
@ -484,7 +484,7 @@ void WebView::contextMenuEvent(QContextMenuEvent* event)
|
||||||
m_menu->addAction(QIcon::fromTheme("edit-copy"), tr("Copy image ad&dress"), this, SLOT(copyLinkToClipboard()))->setData(r.imageUrl());
|
m_menu->addAction(QIcon::fromTheme("edit-copy"), tr("Copy image ad&dress"), this, SLOT(copyLinkToClipboard()))->setData(r.imageUrl());
|
||||||
m_menu->addSeparator();
|
m_menu->addSeparator();
|
||||||
m_menu->addAction(QIcon::fromTheme("document-save"), tr("&Save image as..."), this, SLOT(downloadImageToDisk()))->setData(r.imageUrl());
|
m_menu->addAction(QIcon::fromTheme("document-save"), tr("&Save image as..."), this, SLOT(downloadImageToDisk()))->setData(r.imageUrl());
|
||||||
m_menu->addAction(tr("Send image..."), this, SLOT(sendLinkByMail()))->setData(r.linkUrl());
|
m_menu->addAction(tr("Send image..."), this, SLOT(sendLinkByMail()))->setData(r.imageUrl());
|
||||||
m_menu->addSeparator();
|
m_menu->addSeparator();
|
||||||
//menu->addAction(tr("Block image"), this, SLOT(blockImage()))->setData(r.imageUrl().toString());
|
//menu->addAction(tr("Block image"), this, SLOT(blockImage()))->setData(r.imageUrl().toString());
|
||||||
if (!selectedText().isEmpty()) {
|
if (!selectedText().isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user