summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-14 12:03:31 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-14 12:03:31 +0200
commite1dc349d6bc117b5db8b8229804c3600ae57da0a (patch)
tree9a83c9e8d7f984fbfaf335ee8ece31607d9d12d7 /src/webview.cpp
parentSave a site snapshot when adding a favorite via the urlbar (diff)
downloadrekonq-e1dc349d6bc117b5db8b8229804c3600ae57da0a.tar.xz
Review boomarks management
Maybe this is a bit risky before release, but this lets us adding a bookmarks shortcut (CTRL+D) as used in the major browsers. With this commit, rekonq doubles this behavior. BUG: 303445
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 4ebd5a9b..00112d61 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -405,7 +405,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
}
else
{
- a = rApp->bookmarkManager()->actionByName("rekonq_add_bookmark");
+ a = mainwindow->actionByName(KStandardAction::name(KStandardAction::AddBookmark));
menu.addAction(a);
}
menu.addAction(sendByMailAction);