diff options
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index 886ca16da3..5564049c0d 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -43,7 +43,6 @@ #include <QtGui/QPlatformFontDatabase> #include <QtGui/QPlatformClipboard> -#include <QtGui/QPlatformPrinterSupport> #include <QtGui/private/qguiapplication_p.h> #include <QtGui/private/qpixmap_raster_p.h> #include <private/qdnd_p.h> @@ -209,12 +208,7 @@ QPlatformGLContext *QPlatformIntegration::createPlatformGLContext(QGuiGLContext QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const { - static QPlatformPrinterSupport *ps = 0; -#ifndef QT_NO_PRINTER - if (!ps) - ps = new QPlatformPrinterSupport; -#endif - return ps; + return 0; } /*! |