From 2819ee6510c2a1ecab503ac658e614c2d575d79a Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 25 Sep 2013 14:59:11 -0300 Subject: Code cleanup Fixes a couple of whitespace issues. Signed-off-by: Tomaz Canabrava --- qt-ui/maintab.cpp | 8 ++++---- 1 file 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]; } } -- cgit v1.2.3-70-g09d2