diff options
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 6 |
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) { |