Printing: remove "Table" option from print options radio group

"Table" print is now a template, so remove the radio button.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Gehad elrobey 2015-07-26 00:31:37 +02:00 committed by Lubomir I. Ivanov
parent 7f8d20c09d
commit e8ad4b0c97
4 changed files with 2 additions and 43 deletions

View file

@ -22,9 +22,6 @@ void PrintOptions::setup()
case print_options::DIVELIST:
ui.radioDiveListPrint->setChecked(true);
break;
case print_options::TABLE:
ui.radioTablePrint->setChecked(true);
break;
case print_options::STATISTICS:
ui.radioStatisticsPrint->setChecked(true);
break;
@ -69,13 +66,6 @@ void PrintOptions::on_radioDiveListPrint_clicked(bool check)
}
}
void PrintOptions::on_radioTablePrint_clicked(bool check)
{
if (check) {
printOptions->type = print_options::TABLE;
}
}
void PrintOptions::on_radioStatisticsPrint_clicked(bool check)
{
if (check) {