[coding style] Make some methods const

This commit is contained in:
Léa Saviot
2019-09-09 20:05:14 +02:00
parent fcd82400f5
commit 4caf9f5197
103 changed files with 171 additions and 173 deletions

View File

@@ -73,7 +73,7 @@ bool CalculationParameterController::handleEvent(Ion::Events::Event event) {
return false;
}
int CalculationParameterController::numberOfRows() {
int CalculationParameterController::numberOfRows() const {
// Inverse row + [optional intersection row] + all other rows (max, min zeros, tangent, integral)
return 1 + shouldDisplayIntersection() + k_totalNumberOfReusableCells - 1;
};