[apps/calculation] Fix calculation height computation

It was done in two places before, which created inconsistencies
This commit is contained in:
Léa Saviot
2020-05-26 17:23:06 +02:00
committed by EmilieNumworks
parent 0379327b06
commit a56a73b0ba
12 changed files with 141 additions and 178 deletions

View File

@@ -174,5 +174,5 @@ KDRect KDRect::movedTo(KDPoint p) const {
}
bool KDRect::isEmpty() const {
return (width() == 0 || height() == 0);
return (width() == 0 || height() == 0); //TODO <= 0
}