Fixed folder size
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
f828ea8929
commit
4d93f4adb1
7 changed files with 25 additions and 7 deletions
|
@ -111,7 +111,7 @@ QVariant ModFolderModel::data(const QModelIndex& index, int role) const
|
|||
return provider.value();
|
||||
}
|
||||
case SizeColumn:
|
||||
return StringUtils::humanReadableFileSize(m_resources[row]->fileinfo().size(), true);
|
||||
return StringUtils::humanReadableFileSize(m_resources[row]->size(), true);
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue