From 5c248d91cd5b7e9401e4393b2193ad44c32016bc Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 17 Feb 2018 21:21:16 +0100 Subject: 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 --- desktop-widgets/divelogimportdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets') 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) -- cgit v1.2.3-70-g09d2