diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-07-18 11:48:26 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-18 10:20:11 -0700 |
commit | 21a1fc2a4f816c53f6db995b419d902363dfe751 (patch) | |
tree | e3574edc52a4c115a63e5d119a966ca9064b782b | |
parent | 6e4ebe3c5427b178808c0b0579803c56c5cf53d5 (diff) | |
download | subsurface-21a1fc2a4f816c53f6db995b419d902363dfe751.tar.gz |
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 <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | display.h | 1 | ||||
-rw-r--r-- | qt-ui/printdialog.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -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 |