summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 17:11:26 +0200
committerThiago Macieira <thiago.macieira@intel.com>2012-05-04 13:35:40 +0200
commit82c53237221c5cd9978c83d90ef823ae7e377a50 (patch)
tree4b3b6c7e9210093913874f9961c496e2aa4c8e11
parentb9e589d236537c4fde7d4405aa087bf41a4c7edd (diff)
qMemCopy is deprecated, use memcpy
Change-Id: I4ed8d04694497b184f35768eb02d73f53f95251a Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
-rw-r--r--src/plugins/platforms/wayland/qwaylandcursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandcursor.cpp b/src/plugins/platforms/wayland/qwaylandcursor.cpp
index e8e7ef1e7..55c7cf678 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());
}