summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-07-14 15:34:39 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-07-15 03:15:32 +0200
commit24383084213bdf681e3e7523f8024dffe82e61a1 (patch)
treea79f816353b2ee7f09e4687d96b7de5ccce8e01a /src
parentd27b9485c0074ecc6be5b7a9c320fbf17b921772 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/direct2d/qwindowsdirect2dplatformpixmap.cpp2
1 files changed, 0 insertions, 2 deletions
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);
}