From e1dc349d6bc117b5db8b8229804c3600ae57da0a Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 14 Jul 2012 12:03:31 +0200 Subject: 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 --- src/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webview.cpp') 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); -- cgit v1.2.1