diff options
author | Jorgen Lind <jorgen.lind@gmail.com> | 2012-09-08 23:24:07 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2012-09-10 16:33:26 +0200 |
commit | da87f0291454d998755a703a7def4b2aecc1547f (patch) | |
tree | 2de7f5a68d0e12062ccdada340d3a3c6632a8ff0 /src | |
parent | ac763c7998447b62c8d282419e862b12d26909d9 (diff) |
Fix build errors due to api changes in QtBase
Change-Id: Ie171d9342d877792c2f0b19694ff020965d91985
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandcursor.cpp b/src/plugins/platforms/wayland/qwaylandcursor.cpp index 7c6e8cae2..e73c7bc99 100644 --- a/src/plugins/platforms/wayland/qwaylandcursor.cpp +++ b/src/plugins/platforms/wayland/qwaylandcursor.cpp @@ -213,7 +213,7 @@ void QWaylandCursor::setupPixmapCursor(QCursor *cursor) ensureSurface(cursor->pixmap().size()); 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(mSurface, cursor->hotSpot().x(), cursor->hotSpot().y()); } |