aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-26 17:25:15 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-26 21:30:54 -0700
commitdba3aa12a3e16b5302af551cdf356b3442d9803f (patch)
tree0da706e91c010ccf5bf40e5983b9109048c8588f /qt-ui
parent778d6ea103b0e7f9d60bc125a66e5fc95cc2805e (diff)
downloadsubsurface-dba3aa12a3e16b5302af551cdf356b3442d9803f.tar.gz
Small whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelistview.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 9641d4210..d7b48ce77 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -397,8 +397,14 @@ void DiveListView::reloadHeaderActions()
QString title = QString("%1").arg(model()->headerData(i, Qt::Horizontal).toString());
QString settingName = QString("showColumn%1").arg(i);
QAction *a = new QAction(title, header());
- bool showHeaderFirstRun = !(
- i == DiveTripModel::MAXCNS || i == DiveTripModel::GAS || i == DiveTripModel::OTU || i == DiveTripModel::TEMPERATURE || i == DiveTripModel::TOTALWEIGHT || i == DiveTripModel::SUIT || i == DiveTripModel::CYLINDER || i == DiveTripModel::SAC);
+ bool showHeaderFirstRun = !(i == DiveTripModel::MAXCNS ||
+ i == DiveTripModel::GAS ||
+ i == DiveTripModel::OTU ||
+ i == DiveTripModel::TEMPERATURE ||
+ i == DiveTripModel::TOTALWEIGHT ||
+ i == DiveTripModel::SUIT ||
+ i == DiveTripModel::CYLINDER ||
+ i == DiveTripModel::SAC);
bool shown = s.value(settingName, showHeaderFirstRun).toBool();
a->setCheckable(true);
a->setChecked(shown);