summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index f876e88e1..9b774859e 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -434,8 +434,8 @@ void MainTab::acceptChanges()
if (cylindersModel->changed) {
mark_divelist_changed(TRUE);
- Q_FOREACH(dive *d, notesBackup.keys()){
- for(int i = 0; i < MAX_CYLINDERS; i++){
+ Q_FOREACH (dive *d, notesBackup.keys()) {
+ for (int i = 0; i < MAX_CYLINDERS; i++) {
d->cylinder[i] = multiEditEquipmentPlaceholder.cylinder[i];
}
}
@@ -443,8 +443,8 @@ void MainTab::acceptChanges()
if (weightModel->changed) {
mark_divelist_changed(TRUE);
- Q_FOREACH(dive *d, notesBackup.keys()){
- for(int i = 0; i < MAX_CYLINDERS; i++){
+ Q_FOREACH (dive *d, notesBackup.keys()) {
+ for (int i = 0; i < MAX_CYLINDERS; i++) {
d->cylinder[i] = multiEditEquipmentPlaceholder.cylinder[i];
}
}