diff --git a/src/gui/painting/qpaintdevice.cpp b/src/gui/painting/qpaintdevice.cpp index 4afb89b52e..07991f2d71 100644 --- a/src/gui/painting/qpaintdevice.cpp +++ b/src/gui/painting/qpaintdevice.cpp @@ -43,7 +43,6 @@ QT_BEGIN_NAMESPACE QPaintDevice::QPaintDevice() noexcept { - reserved = nullptr; painters = 0; } diff --git a/src/gui/painting/qpaintdevice.h b/src/gui/painting/qpaintdevice.h index ca5839e513..5a3b6e600e 100644 --- a/src/gui/painting/qpaintdevice.h +++ b/src/gui/painting/qpaintdevice.h @@ -49,7 +49,6 @@ QT_BEGIN_NAMESPACE class QPaintEngine; -class QPaintDevicePrivate; class Q_GUI_EXPORT QPaintDevice // device for QPainter { @@ -100,8 +99,6 @@ protected: private: Q_DISABLE_COPY(QPaintDevice) - QPaintDevicePrivate *reserved; - friend class QPainter; friend class QPainterPrivate; friend class QFontEngineMac;