TorrentContentModel code clean up

This commit is contained in:
Christophe Dumez
2012-08-26 20:35:18 +03:00
parent 38daa23be2
commit 61511201db
2 changed files with 4 additions and 10 deletions

View File

@@ -60,6 +60,7 @@ void TorrentContentModelItem::setName(const QString& name)
qulonglong TorrentContentModelItem::size() const
{
Q_ASSERT(!isRootItem());
return m_size;
}