From 7ea1b6add7ebef4d475801e15e89992e734617c1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 4 May 2010 09:19:16 +0200 Subject: Memory leaks fixes first bunch --- src/bookmarks/bookmarkstreemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bookmarks/bookmarkstreemodel.cpp') diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp index 654069c2..06732007 100644 --- a/src/bookmarks/bookmarkstreemodel.cpp +++ b/src/bookmarks/bookmarkstreemodel.cpp @@ -330,7 +330,7 @@ void BookmarksTreeModel::populate(BtmItem *node, KBookmarkGroup bmg) } -KBookmark BookmarksTreeModel::bookmarkForIndex(const QModelIndex index) const +KBookmark BookmarksTreeModel::bookmarkForIndex(const QModelIndex &index) const { return static_cast(index.internalPointer())->getBkm(); } -- cgit v1.2.1