QTfrontend/hwmap.cpp
changeset 443 eec37eb7f5db
parent 291 afa378f1e961
child 486 7ea71cd3acd5
equal deleted inserted replaced
442:57ed1444606e 443:eec37eb7f5db
    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()