made folder size reflect the number of elements
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
6b777653a5
commit
26931475ae
6 changed files with 19 additions and 18 deletions
|
@ -110,7 +110,7 @@ QVariant ModFolderModel::data(const QModelIndex& index, int role) const
|
|||
return provider.value();
|
||||
}
|
||||
case SizeColumn:
|
||||
return StringUtils::humanReadableFileSize(m_resources[row]->size(), true);
|
||||
return m_resources[row]->sizeStr();
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue