Remove compiler warning when QT_NO_PRINTER is defined

This broke the build on Android with warnings-are-errors.

Change-Id: I9edb9539c4a6f7286ff46cbaa53bcfef4cf5280f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
bb10
Paul Olav Tvete 2013-10-31 12:23:48 +01:00 committed by The Qt Project
parent a174eb95f1
commit f4d85c6548
1 changed files with 2 additions and 0 deletions

View File

@ -65,7 +65,9 @@ static QPlatformPrinterSupport *printerSupport = 0;
static void cleanupPrinterSupport()
{
#ifndef QT_NO_PRINTER
delete printerSupport;
#endif
printerSupport = 0;
}