summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-13 15:50:04 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-13 15:50:04 +0200
commit195d4210049334b9fe630929a4097342581b0582 (patch)
tree1070ab84b0115d18ac8d52f7d3a3e91cf9cc78c1 /src
parentNew Add Bookmark Action (diff)
downloadrekonq-195d4210049334b9fe630929a4097342581b0582.tar.xz
Fixing new bookmarks action
Diffstat (limited to 'src')
-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);
}