Added a reserved data pointer in QPaintDevice.

Change-Id: If547e5525635e7c76db7a02c7c0c300c87373a18
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
Alexandros Dermenakis 2012-07-16 13:08:09 +02:00 committed by Qt by Nokia
parent 4185fc4d85
commit 367ab7e9a9
2 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,7 @@ QT_BEGIN_NAMESPACE
QPaintDevice::QPaintDevice()
{
reserved = 0;
painters = 0;
}

View File

@ -52,6 +52,7 @@ QT_BEGIN_NAMESPACE
class QPaintEngine;
class QPaintDevicePrivate;
class Q_GUI_EXPORT QPaintDevice // device for QPainter
{
@ -98,6 +99,8 @@ protected:
private:
Q_DISABLE_COPY(QPaintDevice)
QPaintDevicePrivate *reserved;
friend class QPainter;
friend class QPainterPrivate;
friend class QFontEngineMac;