Skip to content

Commit

Permalink
Printing: Remove more obsolete code from printlayout
Browse files Browse the repository at this point in the history
This code can be removed as we don't need QT printing code anymore.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  • Loading branch information
Gehadelrobey authored and dirkhh committed Jun 4, 2015
1 parent a0b8eed commit 1cff998
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 518 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Expand Up @@ -324,7 +324,6 @@ set(SUBSURFACE_INTERFACE
qt-ui/notificationwidget.cpp
qt-ui/preferences.cpp
qt-ui/printdialog.cpp
qt-ui/printlayout.cpp
qt-ui/printoptions.cpp
qt-ui/simplewidgets.cpp
qt-ui/starwidget.cpp
Expand Down
7 changes: 1 addition & 6 deletions display.h
Expand Up @@ -37,18 +37,13 @@ extern struct divecomputer *select_dc(struct dive *);

struct print_options {
enum print_type {
PRETTY,
TABLE,
TWOPERPAGE,
ONEPERPAGE,
DIVELIST,
TABLE,
STATISTICS
} type;
bool print_selected;
bool color_selected;
bool notes_up;
bool landscape;
int margins[4]; // left, top, right, bottom
};

extern unsigned int dc_number;
Expand Down

0 comments on commit 1cff998

Please sign in to comment.