warnings--
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 27 Aug 2009 16:02:41 +0000 (18:02 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 27 Aug 2009 16:41:24 +0000 (18:41 +0200)
src/uisupport/flatproxymodel.cpp

index 1d54380..b8fdc2f 100644 (file)
@@ -518,6 +518,7 @@ void FlatProxyModel::on_rowsInserted(const QModelIndex &parent, int start, int e
 
   SourceItem *sourceItem = sourceToInternal(parent);
   Q_ASSERT(sourceItem);
 
   SourceItem *sourceItem = sourceToInternal(parent);
   Q_ASSERT(sourceItem);
+  Q_UNUSED(sourceItem);
 
   // sanity check - if that check fails our indexes would be messed up
   for(int row = start; row <= end; row++) {
 
   // sanity check - if that check fails our indexes would be messed up
   for(int row = start; row <= end; row++) {
@@ -592,6 +593,7 @@ void FlatProxyModel::linkTest() const {
   }
   qDebug() << "Last item in tree:" << item << item->pos();
   Q_ASSERT(lastPos == item->pos());
   }
   qDebug() << "Last item in tree:" << item << item->pos();
   Q_ASSERT(lastPos == item->pos());
+  Q_UNUSED(lastPos);
 
   qDebug() << "success!";
 }
 
   qDebug() << "success!";
 }