equal
deleted
inserted
replaced
40 return arguments; |
40 return arguments; |
41 } |
41 } |
42 |
42 |
43 void HWMap::onClientDisconnect() |
43 void HWMap::onClientDisconnect() |
44 { |
44 { |
45 QImage im((uchar*)(const char*)readbuffer, 256, 128, QImage::Format_Mono); |
45 QImage im((uchar*)(readbuffer.constData()), 256, 128, QImage::Format_Mono); |
46 im.setNumColors(2); |
46 im.setNumColors(2); |
47 emit ImageReceived(im); |
47 emit ImageReceived(im); |
48 } |
48 } |
49 |
49 |
50 void HWMap::SendToClientFirst() |
50 void HWMap::SendToClientFirst() |