summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-25 12:43:40 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commitc0f258a52dfcce0812fe7bf2c5d054afdb7a8d3b (patch)
treef1b4008339a05dd66477a4e920ddfb8897e1866d /src/webtab
parentImprove suggestions, step 2 (diff)
downloadrekonq-c0f258a52dfcce0812fe7bf2c5d054afdb7a8d3b.tar.xz
re-enable the (useful) "open link in new tab" action in web app mode
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/webview.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index 31082a61..48c35615 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -370,13 +370,10 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
sendByMailAction->setData(m_contextMenuHitResult.linkUrl());
sendByMailAction->setText(i18n("Share link"));
- if (webwin)
- {
- a = new KAction(KIcon("tab-new"), i18n("Open in New &Tab"), this);
- a->setData(m_contextMenuHitResult.linkUrl());
- connect(a, SIGNAL(triggered(bool)), this, SLOT(openLinkInNewTab()));
- menu.addAction(a);
- }
+ a = new KAction(KIcon("tab-new"), i18n("Open in New &Tab"), this);
+ a->setData(m_contextMenuHitResult.linkUrl());
+ connect(a, SIGNAL(triggered(bool)), this, SLOT(openLinkInNewTab()));
+ menu.addAction(a);
a = new KAction(KIcon("window-new"), i18n("Open in New &Window"), this);
a->setData(m_contextMenuHitResult.linkUrl());