Commit 97af4465 authored by dt's avatar dt
Browse files

Fixes: Memory leak in bookmarkmanger.

parent 412ac981
...@@ -291,7 +291,7 @@ void BookmarkView::gotoBookmark(const QModelIndex &index) ...@@ -291,7 +291,7 @@ void BookmarkView::gotoBookmark(const QModelIndex &index)
//// ////
BookmarkContext::BookmarkContext(BookmarkView *widget) BookmarkContext::BookmarkContext(BookmarkView *widget)
: m_bookmarkView(widget) : Core::IContext(widget), m_bookmarkView(widget)
{ {
m_context << UniqueIDManager::instance()->uniqueIdentifier(Constants::BOOKMARKS_CONTEXT); m_context << UniqueIDManager::instance()->uniqueIdentifier(Constants::BOOKMARKS_CONTEXT);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment