Commit 71fac0c2 authored by Elvis Angelaccio's avatar Elvis Angelaccio

archivemodel: drop dead code

This code has been unused since commit 51d34e4c in 2008.
parent 6cb4c4ba
......@@ -497,9 +497,6 @@ int ArchiveModel::rowCount(const QModelIndex &parent) const
int ArchiveModel::columnCount(const QModelIndex &parent) const
{
return m_showColumns.size();
if (parent.isValid()) {
return static_cast<ArchiveNode*>(parent.internalPointer())->entry().size();
}
}
void ArchiveModel::sort(int column, Qt::SortOrder order)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment