summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 82f95cfa..110cadc9 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -315,10 +315,12 @@ void MainWindow::setupActions()
actionCollection()->addAction(QLatin1String("show_prev_tab"), a);
connect(a, SIGNAL(triggered(bool)), m_view, SLOT(previousTab()));
- // ==================== Bookmarks Actions
- a = new KAction(i18n("Add Bookmark"), this);
- a->setIcon(KIcon("rating"));
- actionCollection()->addAction(QLatin1String("add_bookmark"),a);
+// // ==================== Bookmarks Actions
+// a = new KAction(i18n("Add Bookmark"), this);
+// a->setIcon(KIcon("rating"));
+// actionCollection()->addAction(QLatin1String("add_bookmark"),a);
+ QAction *ba = Application::bookmarkProvider()->actionByName("rekonq_add_bookmark");
+ actionCollection()->addAction(QLatin1String("rekonq_add_bookmark"), ba);
}