From 82c53237221c5cd9978c83d90ef823ae7e377a50 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <thiago.macieira@intel.com>
Date: Thu, 3 May 2012 17:11:26 +0200
Subject: [PATCH] qMemCopy is deprecated, use memcpy

Change-Id: I4ed8d04694497b184f35768eb02d73f53f95251a
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
---
 src/plugins/platforms/wayland/qwaylandcursor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/platforms/wayland/qwaylandcursor.cpp b/src/plugins/platforms/wayland/qwaylandcursor.cpp
index e8e7ef1e..55c7cf67 100644
--- a/src/plugins/platforms/wayland/qwaylandcursor.cpp
+++ b/src/plugins/platforms/wayland/qwaylandcursor.cpp
@@ -199,7 +199,7 @@ void QWaylandCursor::setupPixmapCursor(QCursor *cursor)
     }
     QImage src = cursor->pixmap().toImage().convertToFormat(QImage::Format_ARGB32);
     for (int y = 0; y < src.height(); ++y)
-        qMemCopy(mBuffer->image()->scanLine(y), src.scanLine(y), src.bytesPerLine());
+        memcpy(mBuffer->image()->scanLine(y), src.scanLine(y), src.bytesPerLine());
     mDisplay->setCursor(mBuffer, cursor->hotSpot().x(), cursor->hotSpot().y());
 }
 
-- 
GitLab