diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-11 18:10:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-11 18:10:18 +0200 |
commit | 7b015bc02b7311b9746320ecd11383e13036195d (patch) | |
tree | 74dd9944ffba9478a2e89b3963477f87b87b2ca6 /src/bookmarks.cpp | |
parent | Fixing addTabButton visibility. (diff) | |
download | rekonq-7b015bc02b7311b9746320ecd11383e13036195d.tar.xz |
New Add Bookmark Action
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r-- | src/bookmarks.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index ace45c2f..69bb5687 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -108,10 +108,10 @@ BookmarkMenu::BookmarkMenu(KBookmarkManager *manager, : KBookmarkMenu(manager, owner, menu, actionCollection) { - actionCollection->addAction(KStandardAction::AddBookmark, - QLatin1String("add_bookmark_payload"), - this, SLOT(slotAddBookmark())); - + KAction *a = KStandardAction::addBookmark(this, SLOT(slotAddBookmark()), this); + a->setText(i18n("Add Bookmark")); + a->setIcon(KIcon("rating")); + actionCollection->addAction(QLatin1String("rekonq_add_bookmark"),a); } BookmarkMenu::~BookmarkMenu() |