diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-12-15 23:38:38 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-16 07:08:21 -0800 |
commit | a6fdd6220bd3d0ffe9aecb2bbe3d3524cf47665f (patch) | |
tree | 6ad65e07251ee7e93bc6c10d5e01b0a63ba636e7 /qt-ui/simplewidgets.cpp | |
parent | 9ad3e83c778bfe83a06f559f175c85b0043d8656 (diff) | |
download | subsurface-a6fdd6220bd3d0ffe9aecb2bbe3d3524cf47665f.tar.gz |
Removed leftover qDebug()'s
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 47d2e4a07..0ec03b44b 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -146,10 +146,8 @@ void RenumberDialog::renumberOnlySelected(bool selected) void RenumberDialog::buttonClicked(QAbstractButton *button) { - if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) { - qDebug() << "Renumbering."; + if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) renumber_dives(ui.spinBox->value(), selectedOnly); - } } RenumberDialog::RenumberDialog(QWidget *parent) : QDialog(parent), selectedOnly(false) @@ -176,10 +174,8 @@ void SetpointDialog::setpointData(struct divecomputer *divecomputer, int second) void SetpointDialog::buttonClicked(QAbstractButton *button) { - if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) { - qDebug() << time << (int)(1000.0 * ui.spinbox->value()); + if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) add_event(dc, time, SAMPLE_EVENT_PO2, 0, (int)(1000.0 * ui.spinbox->value()), "SP change"); - } mark_divelist_changed(true); MainWindow::instance()->graphics()->replot(); |