summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkstreemodel.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-04-17 16:03:25 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-04-17 16:03:25 +0200
commitad1b58215550c99f708a1ef03b5f8f38c179348b (patch)
treef3c33197e66591a7d6dc02524f45ec78ad8d33a3 /src/bookmarks/bookmarkstreemodel.cpp
parentFixing Lionel's merge request: (diff)
downloadrekonq-ad1b58215550c99f708a1ef03b5f8f38c179348b.tar.xz
- Enable context menu for actions inside bookmark bar folder
- Reverse bookmarks and bookmark managing option on the bookmarkActionMenu (as we discussed with Lionel) - Common actionMenu between bookmark bars and the bookmarkActionMenu - Use BookmarkContextMenu instead of KBookmarkContextMenu in the bookmarkActionMenu
Diffstat (limited to 'src/bookmarks/bookmarkstreemodel.cpp')
-rw-r--r--src/bookmarks/bookmarkstreemodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp
index 836401a6..e731940c 100644
--- a/src/bookmarks/bookmarkstreemodel.cpp
+++ b/src/bookmarks/bookmarkstreemodel.cpp
@@ -323,6 +323,11 @@ void BookmarksTreeModel::populate( BtmItem *node, KBookmarkGroup bmg)
BtmItem *newChild = new BtmItem( bm );
if( bm.isGroup() )
populate( newChild, bm.toGroup() );
+ else
+ {
+ Application::bookmarkProvider()->completionObject()->addItem(bm.url().url());
+ //QMessageBox::information(new QWidget(), "", bm.url().url());
+ }
node->appendChild( newChild );
bm = bmg.next( bm );