aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-07-18 11:48:26 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-18 10:20:11 -0700
commit21a1fc2a4f816c53f6db995b419d902363dfe751 (patch)
treee3574edc52a4c115a63e5d119a966ca9064b782b
parent6e4ebe3c5427b178808c0b0579803c56c5cf53d5 (diff)
downloadsubsurface-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.h1
-rw-r--r--qt-ui/printdialog.cpp2
2 files changed, 1 insertions, 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