fix issue 13

This commit is contained in:
speyrefitte
2015-01-23 17:13:14 +01:00
parent 8b159e668f
commit 02dfe8f46e
3 changed files with 12 additions and 12 deletions

View File

@@ -121,7 +121,7 @@ class RDPScreenShotFactory(rdp.ClientFactory):
"""
@summary: callback use when bitmap is received
"""
image = RDPBitmapToQtImage(destLeft, width, height, bitsPerPixel, isCompress, data);
image = RDPBitmapToQtImage(width, height, bitsPerPixel, isCompress, data);
with QtGui.QPainter(self._buffer) as qp:
#draw image
qp.drawImage(destLeft, destTop, image, 0, 0, destRight - destLeft + 1, destBottom - destTop + 1)