summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bookmarks.cpp2
-rw-r--r--src/mainwindow.cpp5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index 69bb5687..d4aa5a58 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -109,8 +109,8 @@ BookmarkMenu::BookmarkMenu(KBookmarkManager *manager,
{
KAction *a = KStandardAction::addBookmark(this, SLOT(slotAddBookmark()), this);
- a->setText(i18n("Add Bookmark"));
a->setIcon(KIcon("rating"));
+ a->setText(i18n("Add Bookmark"));
actionCollection->addAction(QLatin1String("rekonq_add_bookmark"),a);
}
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 110cadc9..9b88dc5e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -315,10 +315,7 @@ 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
QAction *ba = Application::bookmarkProvider()->actionByName("rekonq_add_bookmark");
actionCollection()->addAction(QLatin1String("rekonq_add_bookmark"), ba);
}