X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fflatproxymodel.cpp;h=b8fdc2f47127fc9083dc7623d9ec36b7a2c68c35;hp=1d54380a80621f564da73b9a8a5d3b4950a2d4f5;hb=ccd68c23f7e762d9d98e3753e174ff11f79cb07e;hpb=358dabf8ebedacb89a2a124d2a1b6d2bb6ecc654 diff --git a/src/uisupport/flatproxymodel.cpp b/src/uisupport/flatproxymodel.cpp index 1d54380a..b8fdc2f4 100644 --- a/src/uisupport/flatproxymodel.cpp +++ b/src/uisupport/flatproxymodel.cpp @@ -518,6 +518,7 @@ void FlatProxyModel::on_rowsInserted(const QModelIndex &parent, int start, int e 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++) { @@ -592,6 +593,7 @@ void FlatProxyModel::linkTest() const { } qDebug() << "Last item in tree:" << item << item->pos(); Q_ASSERT(lastPos == item->pos()); + Q_UNUSED(lastPos); qDebug() << "success!"; }