Coding-style: remove superfluous parentheses

Mostly replace "return (expression);" by "return expression;" and one
case of "function((parameter))" by "function(parameter)".

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-02-17 21:21:16 +01:00 committed by Lubomir I. Ivanov
parent 36b8594cce
commit 5c248d91cd
20 changed files with 30 additions and 30 deletions

View file

@ -260,7 +260,7 @@ QVariant ColumnNameResult::data(const QModelIndex &index, int role) const
return QVariant();
if (index.row() == 0) {
return (columnNames[index.column()]);
return columnNames[index.column()];
}
// make sure the element exists before returning it - this might get called before the
// model is correctly set up again (e.g., when changing separators)