diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-11-09 21:03:52 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-11-10 21:17:21 +0000 |
commit | 8eb3f586094294ab09a69d98fba374e236b0e095 (patch) | |
tree | b7ff088cc9c4478c4cd65516e5467a6ebcc872f2 /examples/widgets/painting/fontsampler/mainwindow.h | |
parent | aba5801a323e33833a619a5d2e99abc598a01b67 (diff) |
Fix fontsampler build with QT_NO_PRINTER / QT_NO_PRINTDIALOG
Change-Id: I4495949580846e9b04c8e15a756c0d5a64d69c0c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/widgets/painting/fontsampler/mainwindow.h')
-rw-r--r-- | examples/widgets/painting/fontsampler/mainwindow.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/widgets/painting/fontsampler/mainwindow.h b/examples/widgets/painting/fontsampler/mainwindow.h index f39e1b1916..e79da07326 100644 --- a/examples/widgets/painting/fontsampler/mainwindow.h +++ b/examples/widgets/painting/fontsampler/mainwindow.h @@ -72,15 +72,11 @@ public: public slots: void on_clearAction_triggered(); void on_markAction_triggered(); -#if !defined(QT_NO_PRINTER) && !defined(QT_NO_PRINTDIALOG) void on_printAction_triggered(); void on_printPreviewAction_triggered(); -#endif void on_unmarkAction_triggered(); -#if !defined(QT_NO_PRINTER) && !defined(QT_NO_PRINTDIALOG) void printDocument(QPrinter *printer); void printPage(int index, QPainter *painter, QPrinter *printer); -#endif void showFont(QTreeWidgetItem *item); void updateStyles(QTreeWidgetItem *item, int column); |