summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-25 14:59:11 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-25 12:48:17 -0700
commit2819ee6510c2a1ecab503ac658e614c2d575d79a (patch)
treec3b287bf6afb7bcb2b04b83eedf5e18b5f7e92c7 /qt-ui/maintab.cpp
parentd9067582a9135c69562132a8a3b6c272c71da7f5 (diff)
downloadsubsurface-2819ee6510c2a1ecab503ac658e614c2d575d79a.tar.gz
Code cleanup
Fixes a couple of whitespace issues. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-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];
}
}