[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

@@ -156,7 +156,7 @@ void MenuController::scriptContentEditionDidFinish() {
reloadConsole();
}
int MenuController::numberOfRows() {
int MenuController::numberOfRows() const {
return m_scriptStore->numberOfScripts() + m_shouldDisplayAddScriptRow;
}