From 21a1fc2a4f816c53f6db995b419d902363dfe751 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Fri, 18 Jul 2014 11:48:26 +0300 Subject: Print: remove the options for height from display.h's 'struct options' Not supported. Also the profile in "6 dives per page" doesn't really allow much variations because it looks bad if we scale it down further on A4. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- display.h | 1 - qt-ui/printdialog.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/display.h b/display.h index 08c63da04..b728b8b70 100644 --- a/display.h +++ b/display.h @@ -44,7 +44,6 @@ struct options { int print_selected; int color_selected; bool notes_up; - int profile_height, notes_height, tanks_height; }; extern unsigned int dc_number; diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp index 8f1a5ca68..1112bcff7 100644 --- a/qt-ui/printdialog.cpp +++ b/qt-ui/printdialog.cpp @@ -15,7 +15,7 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) { // options template (are we storing these in the settings?) - struct options tempOptions = { options::PRETTY, 0, 2, false, 65, 15, 12 }; + struct options tempOptions = { options::PRETTY, 0, 2, false }; printOptions = tempOptions; // create a print layout and pass the printer and options -- cgit v1.2.3-70-g09d2