summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp1
-rw-r--r--src/webview.cpp8
2 files changed, 4 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ff4bc816..f55fa0a3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -251,7 +251,6 @@ void MainWindow::setupActions()
// Standard Actions
KStandardAction::open(this, SLOT(slotFileOpen()), actionCollection());
- KStandardAction::openNew(Application::instance(), SLOT(newMainWindow()), actionCollection());
KStandardAction::saveAs(this, SLOT(slotFileSaveAs()), actionCollection());
KStandardAction::print(this, SLOT(printRequested()), actionCollection());
KStandardAction::quit(this , SLOT(close()), actionCollection());
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);