summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-17 15:39:49 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-17 15:39:49 -0700
commit0d1da0563b949695651cce7eb49f9a25b80d3431 (patch)
treec48e75ca5c929d86755bff27059b3bef7293c42d /qt-ui/divelistview.cpp
parentd6d82a5af8962899d20c1269ec94c0bd6afbb98b (diff)
downloadsubsurface-0d1da0563b949695651cce7eb49f9a25b80d3431.tar.gz
Random whitespace update
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 273517ffb..a8f718c31 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -209,7 +209,7 @@ void DiveListView::unselectDives()
// would only cause pointless churn
int i;
struct dive *dive;
- for_each_dive(i, dive) {
+ for_each_dive (i, dive) {
dive->selected = false;
}
}
@@ -486,7 +486,7 @@ void DiveListView::selectionChanged(const QItemSelection &selected, const QItemS
QTreeView::selectionChanged(selectionModel()->selection(), newDeselected);
connect(selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(selectionChanged(QItemSelection, QItemSelection)));
connect(selectionModel(), SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(currentChanged(QModelIndex, QModelIndex)));
- if(!dontEmitDiveChangedSignal)
+ if (!dontEmitDiveChangedSignal)
Q_EMIT currentDiveChanged(selected_dive);
}
@@ -784,7 +784,7 @@ void DiveListView::loadImages()
shiftDialog.exec();
updateLastImageTimeOffset(shiftDialog.amount());
- Q_FOREACH(const QString& fileName, fileNames) {
+ Q_FOREACH (const QString &fileName, fileNames) {
int j = 0;
struct dive *dive;
for_each_dive (j, dive) {