Added debug output

This commit is contained in:
Christophe Dumez
2011-03-14 19:18:52 +00:00
parent 82877a9afa
commit a4c1b93a42
6 changed files with 14 additions and 2 deletions

View File

@@ -224,8 +224,10 @@ void TorrentModel::populate() {
}
TorrentModel::~TorrentModel() {
qDebug() << Q_FUNC_INFO << "ENTER";
qDeleteAll(m_torrents);
m_torrents.clear();
qDebug() << Q_FUNC_INFO << "EXIT";
}
QVariant TorrentModel::headerData(int section, Qt::Orientation orientation,