Fix namespaced build

No need of redeclare the function (wrongly, w/o the namespace),
we have the declaration already from qpaintdevice.h.

Change-Id: Iab37c1ac8f059b7d93de7f6c8f0a2eeef2314f35
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Giuseppe D'Angelo 2020-07-14 15:34:39 +02:00
parent d27b9485c0
commit 2438308421

View File

@ -139,8 +139,6 @@ void QWindowsDirect2DPlatformPixmap::fromImage(const QImage &image,
int QWindowsDirect2DPlatformPixmap::metric(QPaintDevice::PaintDeviceMetric metric) const
{
Q_D(const QWindowsDirect2DPlatformPixmap);
Q_GUI_EXPORT int qt_paint_device_metric(const QPaintDevice *device, QPaintDevice::PaintDeviceMetric metric);
return qt_paint_device_metric(d->device.data(), metric);
}