diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-17 21:21:16 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-17 19:38:52 -0800 |
commit | 5c248d91cd5b7e9401e4393b2193ad44c32016bc (patch) | |
tree | 6ecf145a0ee951e8c1dd94de075e9d854da32aae /desktop-widgets/divelogimportdialog.cpp | |
parent | 36b8594ccea5f72fc24041eae6a0dc69a9b5bc51 (diff) | |
download | subsurface-5c248d91cd5b7e9401e4393b2193ad44c32016bc.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.cpp')
-rw-r--r-- | desktop-widgets/divelogimportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp index e05a71878..aa1359b9b 100644 --- a/desktop-widgets/divelogimportdialog.cpp +++ b/desktop-widgets/divelogimportdialog.cpp @@ -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) |