aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/filtermodels.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-17 21:21:16 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-17 19:38:52 -0800
commit5c248d91cd5b7e9401e4393b2193ad44c32016bc (patch)
tree6ecf145a0ee951e8c1dd94de075e9d854da32aae /qt-models/filtermodels.cpp
parent36b8594ccea5f72fc24041eae6a0dc69a9b5bc51 (diff)
downloadsubsurface-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 'qt-models/filtermodels.cpp')
-rw-r--r--qt-models/filtermodels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/filtermodels.cpp b/qt-models/filtermodels.cpp
index f0178d3e1..6eb94736d 100644
--- a/qt-models/filtermodels.cpp
+++ b/qt-models/filtermodels.cpp
@@ -408,7 +408,7 @@ bool MultiFilterSortModel::filterAcceptsRow(int source_row, const QModelIndex &s
ds = get_dive_site_by_uuid(d->dive_site_uuid);
if (!ds)
return false;
- return (same_string(ds->name, curr_dive_site->name) || ds->uuid == curr_dive_site->uuid);
+ return same_string(ds->name, curr_dive_site->name) || ds->uuid == curr_dive_site->uuid;
}
if (justCleared || models.isEmpty())