aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-22 11:40:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-22 11:40:22 -0700
commit5ba573240f5caf5d7548245ef1066b6f3cbbf951 (patch)
tree563e12a4d8063de14877ee66180bea8753501161 /qt-ui/simplewidgets.cpp
parentc7e7cebed6e40e0828aa36c3ed3f978c15ea8f5e (diff)
downloadsubsurface-5ba573240f5caf5d7548245ef1066b6f3cbbf951.tar.gz
Gratuitous whitespace changes
I keep trying to get to consistenct. Completely hopeless. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index b34f74c50..99e0ba362 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -171,10 +171,10 @@ void ShiftTimesDialog::buttonClicked(QAbstractButton *button)
}
}
-void ShiftTimesDialog::showEvent(QShowEvent * event)
+void ShiftTimesDialog::showEvent(QShowEvent *event)
{
ui.timeEdit->setTime(QTime(0, 0, 0, 0));
- when = get_times();//get time of first selected dive
+ when = get_times(); //get time of first selected dive
ui.currentTime->setText(get_dive_date_string(when));
ui.shiftedTime->setText(get_dive_date_string(when));
}
@@ -187,7 +187,7 @@ void ShiftTimesDialog::changeTime()
if (ui.backwards->isChecked())
amount *= -1;
- ui.shiftedTime->setText (get_dive_date_string(amount+when));
+ ui.shiftedTime->setText(get_dive_date_string(amount + when));
}
ShiftTimesDialog::ShiftTimesDialog(QWidget *parent) : QDialog(parent)