mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
9ad3e83c77
commit
a6fdd6220b
1 changed files with 2 additions and 6 deletions
|
@ -146,11 +146,9 @@ 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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue