diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-04 10:18:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-04 10:18:37 -0700 |
commit | 1cf31eeaf926a90853919fcbe51f5830b88d9bd3 (patch) | |
tree | 798e1b369dddaf61e8823109848523f5282de383 /qt-ui/printdialog.cpp | |
parent | 9bda2e2d82db52a698359c2456c15d3f8e5da2ec (diff) | |
download | subsurface-1cf31eeaf926a90853919fcbe51f5830b88d9bd3.tar.gz |
Make Subsurface compile with NO_PRINTING set
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r-- | qt-ui/printdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp index 909b0b598..e7d9099da 100644 --- a/qt-ui/printdialog.cpp +++ b/qt-ui/printdialog.cpp @@ -10,6 +10,7 @@ #define SETTINGS_GROUP "PrintDialog" +#ifndef NO_PRINTING PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) { // check if the options were previously stored in the settings; if not use some defaults. @@ -111,3 +112,4 @@ void PrintDialog::printClicked(void) void PrintDialog::onPaintRequested(QPrinter *printerPtr) { } +#endif |