Removed leftover qDebug()'s

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2014-12-15 23:38:38 +01:00 committed by Dirk Hohndel
parent 9ad3e83c77
commit a6fdd6220b

View file

@ -146,10 +146,8 @@ void RenumberDialog::renumberOnlySelected(bool selected)
void RenumberDialog::buttonClicked(QAbstractButton *button) void RenumberDialog::buttonClicked(QAbstractButton *button)
{ {
if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) { if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole)
qDebug() << "Renumbering.";
renumber_dives(ui.spinBox->value(), selectedOnly); renumber_dives(ui.spinBox->value(), selectedOnly);
}
} }
RenumberDialog::RenumberDialog(QWidget *parent) : QDialog(parent), selectedOnly(false) 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) void SetpointDialog::buttonClicked(QAbstractButton *button)
{ {
if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) { if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole)
qDebug() << time << (int)(1000.0 * ui.spinbox->value());
add_event(dc, time, SAMPLE_EVENT_PO2, 0, (int)(1000.0 * ui.spinbox->value()), "SP change"); add_event(dc, time, SAMPLE_EVENT_PO2, 0, (int)(1000.0 * ui.spinbox->value()), "SP change");
}
mark_divelist_changed(true); mark_divelist_changed(true);
MainWindow::instance()->graphics()->replot(); MainWindow::instance()->graphics()->replot();