Skip to content

Commit

Permalink
Bug 735590 - [PATCH] Remove not needed pointer initialization in src/…
Browse files Browse the repository at this point in the history
…entry.cpp
  • Loading branch information
Dimitri van Heesch committed Aug 30, 2014
1 parent 5f01852 commit 88832b1
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/entry.cpp
Expand Up @@ -301,21 +301,7 @@ void Entry::createSubtreeIndex(EntryNav *nav,FileStorage *storage,FileDef *fd)

void Entry::createNavigationIndex(EntryNav *rootNav,FileStorage *storage,FileDef *fd)
{
//printf("createNavigationIndex(%p) sublist=%p\n",this,m_sublist);
if (m_sublist)
{
//printf("saveEntries: %d children\n",root->sublist->count());
// store all child entries of root, but keep the navigation info (=index)
QListIterator<Entry> eli(*m_sublist);
Entry *e;
for (eli.toFirst();(e=eli.current());++eli)
{
createSubtreeIndex(rootNav,storage,fd);
}
// remove all entries from root
//m_sublist->setAutoDelete(FALSE);
m_sublist->clear();
}
createSubtreeIndex(rootNav,storage,fd);
}

void Entry::addSpecialListItem(const char *listName,int itemId)
Expand Down

0 comments on commit 88832b1

Please sign in to comment.