Direct2D: Spell out ~QWindowsDirect2DPaintDevice.

Fixes warning about deleting the incomplete type
QWindowsDirect2DPaintDevicePrivate.

Task-number: QTBUG-50860
Change-Id: I11edb49e6e3996963913155e307fd5f3944bffd2
Reviewed-by: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
This commit is contained in:
Friedemann Kleint 2016-02-03 15:50:58 +01:00
parent 75b705fec8
commit debfed863a
2 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,10 @@ QWindowsDirect2DPaintDevice::QWindowsDirect2DPaintDevice(QWindowsDirect2DBitmap
{ {
} }
QWindowsDirect2DPaintDevice::~QWindowsDirect2DPaintDevice()
{
}
QPaintEngine *QWindowsDirect2DPaintDevice::paintEngine() const QPaintEngine *QWindowsDirect2DPaintDevice::paintEngine() const
{ {
Q_D(const QWindowsDirect2DPaintDevice); Q_D(const QWindowsDirect2DPaintDevice);

View File

@ -50,6 +50,8 @@ class QWindowsDirect2DPaintDevice : public QPaintDevice
public: public:
QWindowsDirect2DPaintDevice(QWindowsDirect2DBitmap *bitmap, QInternal::PaintDeviceFlags flags, QWindowsDirect2DPaintDevice(QWindowsDirect2DBitmap *bitmap, QInternal::PaintDeviceFlags flags,
QWindowsDirect2DPaintEngine::Flags paintFlags = QWindowsDirect2DPaintEngine::NoFlag); QWindowsDirect2DPaintEngine::Flags paintFlags = QWindowsDirect2DPaintEngine::NoFlag);
~QWindowsDirect2DPaintDevice();
QPaintEngine *paintEngine() const Q_DECL_OVERRIDE; QPaintEngine *paintEngine() const Q_DECL_OVERRIDE;
int devType() const Q_DECL_OVERRIDE; int devType() const Q_DECL_OVERRIDE;