summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-04 10:18:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-04 10:18:37 -0700
commit1cf31eeaf926a90853919fcbe51f5830b88d9bd3 (patch)
tree798e1b369dddaf61e8823109848523f5282de383 /qt-ui/printdialog.h
parent9bda2e2d82db52a698359c2456c15d3f8e5da2ec (diff)
downloadsubsurface-1cf31eeaf926a90853919fcbe51f5830b88d9bd3.tar.gz
Make Subsurface compile with NO_PRINTING set
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r--qt-ui/printdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h
index 1c6d30dfd..9937cd549 100644
--- a/qt-ui/printdialog.h
+++ b/qt-ui/printdialog.h
@@ -6,6 +6,7 @@
#include "printoptions.h"
#include "printer.h"
+#ifndef NO_PRINTING
class QProgressBar;
class PrintOptions;
class PrintLayout;
@@ -31,4 +32,5 @@ slots:
void printClicked();
void onPaintRequested(QPrinter *);
};
+#endif
#endif // PRINTDIALOG_H