diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-07-21 11:55:15 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-07-21 11:57:01 +0200 |
commit | 619f89bff1ba082ffdc07e93a059d075494a7920 (patch) | |
tree | c8cbda578a2126852d77738c56727d04a6cc7af0 | |
parent | rekonq 0.5.50 (diff) | |
download | rekonq-619f89bff1ba082ffdc07e93a059d075494a7920.tar.xz |
Forget to commit this change
-rw-r--r-- | src/bookmarks/bookmarkspanel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bookmarks/bookmarkspanel.cpp b/src/bookmarks/bookmarkspanel.cpp index 25aab516..19db148b 100644 --- a/src/bookmarks/bookmarkspanel.cpp +++ b/src/bookmarks/bookmarkspanel.cpp @@ -218,6 +218,7 @@ void BookmarksPanel::deleteBookmark() return; KBookmark bm = bookmarkForIndex(index); + KBookmarkGroup bmg = bm.parentGroup(); bool folder = bm.isGroup(); if (KMessageBox::warningContinueCancel( @@ -232,6 +233,6 @@ void BookmarksPanel::deleteBookmark() return; - bm.parentGroup().deleteBookmark(bm); - Application::instance()->bookmarkProvider()->bookmarkManager()->emitChanged(); + bmg.deleteBookmark(bm); + Application::instance()->bookmarkProvider()->bookmarkManager()->emitChanged(bmg); } |