summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-26 00:31:37 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-28 11:37:38 +0300
commite8ad4b0c97c011f9cc89943252a69a8008bbb749 (patch)
tree93e9983561424da0d6af5d9a0a60fafef3feda29 /qt-ui/printoptions.cpp
parent7f8d20c09d531a65dd8864e86b33766d49c0b04b (diff)
downloadsubsurface-e8ad4b0c97c011f9cc89943252a69a8008bbb749.tar.gz
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>
Diffstat (limited to 'qt-ui/printoptions.cpp')
-rw-r--r--qt-ui/printoptions.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp
index df49694ee..223dfab93 100644
--- a/qt-ui/printoptions.cpp
+++ b/qt-ui/printoptions.cpp
@@ -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) {