diff options
Diffstat (limited to 'examples/touch/fingerpaint/scribblearea.cpp')
-rw-r--r-- | examples/touch/fingerpaint/scribblearea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/touch/fingerpaint/scribblearea.cpp b/examples/touch/fingerpaint/scribblearea.cpp index f672a3fdd1..0d13e4579d 100644 --- a/examples/touch/fingerpaint/scribblearea.cpp +++ b/examples/touch/fingerpaint/scribblearea.cpp @@ -154,7 +154,7 @@ void ScribbleArea::resizeImage(QImage *image, const QSize &newSize) //! [21] void ScribbleArea::print() { -#ifndef QT_NO_PRINTER +#if !defined(QT_NO_PRINTER) && !defined(QT_NO_PRINTDIALOG) QPrinter printer(QPrinter::HighResolution); QPrintDialog printDialog(&printer, this); |