From 24383084213bdf681e3e7523f8024dffe82e61a1 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 14 Jul 2020 15:34:39 +0200 Subject: 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 Reviewed-by: Thiago Macieira --- src/plugins/platforms/direct2d/qwindowsdirect2dplatformpixmap.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/plugins/platforms/direct2d/qwindowsdirect2dplatformpixmap.cpp b/src/plugins/platforms/direct2d/qwindowsdirect2dplatformpixmap.cpp index fb50e05b3f..ddb4e215d3 100644 --- a/src/plugins/platforms/direct2d/qwindowsdirect2dplatformpixmap.cpp +++ b/src/plugins/platforms/direct2d/qwindowsdirect2dplatformpixmap.cpp @@ -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); } -- cgit v1.2.3