From a6fdd6220bd3d0ffe9aecb2bbe3d3524cf47665f Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 15 Dec 2014 23:38:38 +0100 Subject: [PATCH] Removed leftover qDebug()'s Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.cpp | 8 ++------ 1 file 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();