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/mainwindow.cpp | |
parent | Fixing addTabButton visibility. (diff) | |
download | rekonq-7b015bc02b7311b9746320ecd11383e13036195d.tar.xz |
New Add Bookmark Action
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 10 |
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); } |