diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-04 00:59:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-04 00:59:18 +0200 |
commit | 04ff4c9fd994ca31289b416c693cf96ec51a5e81 (patch) | |
tree | 83ddb9ce04c39ca9a8c5376849865a043be7ce9c /src/webview.cpp | |
parent | Open in new Window Action (diff) | |
download | rekonq-04ff4c9fd994ca31289b416c693cf96ec51a5e81.tar.xz |
fixing new window action
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 19c5e421..a3458fc5 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -115,13 +115,13 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) { // link actions a = pageAction(QWebPage::OpenLinkInNewWindow); - a->setText(i18n("Open Link in New &Tab")); + a->setText(i18n("Open in New &Tab")); a->setIcon(KIcon("tab-new")); menu.addAction(a); - a = new KAction(KIcon("window-new"), i18n("Open Link in New &Window"), this); - a->setData( result.linkUrl() ); - connect(a, SIGNAL( triggered(bool) ), this, SLOT( openLinkInNewWindow() ) ); + a = new KAction(KIcon("window-new"), i18n("Open in New &Window"), this); + a->setData(result.linkUrl()); + connect(a, SIGNAL(triggered(bool)), this, SLOT(openLinkInNewWindow())); menu.addAction(a); a = pageAction(QWebPage::DownloadLinkToDisk); |