bugfix shiw size is always zero

pull/23/head
JuanJakobo 2021-02-21 20:29:58 +01:00
parent ff27551524
commit f5db829dfd
1 changed files with 1 additions and 1 deletions

View File

@ -142,6 +142,6 @@ string Item::getSizeString() const
unit = "GB";
}
tempSize = round((tempSize / departBy) * 10.0) / 10.0;
tempSize = round((_size / departBy) * 10.0) / 10.0;
return Util::valueToString(tempSize) + " " + unit;
}