From e001c6a197f6a7485eddf2f31c0d96b0d1ca9c89 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 3 May 2011 13:56:26 -0400 Subject: [PATCH] more build fixes --- src/sourcetree/items/categoryitems.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sourcetree/items/categoryitems.cpp b/src/sourcetree/items/categoryitems.cpp index 426e59eac..da1121631 100644 --- a/src/sourcetree/items/categoryitems.cpp +++ b/src/sourcetree/items/categoryitems.cpp @@ -161,15 +161,12 @@ CategoryItem::insertItem( SourceTreeItem* item ) void CategoryItem::insertItems( QList< SourceTreeItem* > items ) { - Q_UNUSED(index); - // add the items to the category, and connect to the signals int curCount = children().size(); if( m_showAdd ) // if there's an add item, add it before that curCount--; beginRowsAdded( curCount, curCount + items.size() - 1 ); foreach( SourceTreeItem* item, items ) { - int index = m_showAdd ? children().count() - 1 : children().count(); insertChild( children().count() - 1, item ); } endRowsAdded();