Fix compilation when QT_NO_PRINTDIALOG is defined.
authorQt4iOS <ian@mediator-software.com>
Sat, 24 Mar 2012 14:49:52 +0000 (14:49 +0000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 27 Mar 2012 17:26:45 +0000 (19:26 +0200)
commitc95fc3c3b1fdad5e75fe1c093f41fd54f8828ca4
treee377b97f63f85c1c7038caf4e864327b53d54cbf
parentf1963324d26e825cd4cce3f666702933b86d92c8
Fix compilation when QT_NO_PRINTDIALOG is defined.

Some code intended to be disabled when QT_NO_PRINTDIALOG is defined
was being compiled due to misplaced #ifdef and/or #endif.

Change-Id: Ic8587872fae03cac2895e54e34f8f20cb575d92b
Reviewed-by: John Layt <jlayt@kde.org>
src/printsupport/dialogs/qpagesetupdialog_mac.mm
src/printsupport/dialogs/qprintdialog_unix.cpp