mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
36b8594cce
commit
5c248d91cd
20 changed files with 30 additions and 30 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue