branch | qt5transition |
changeset 12902 | fc47fc4af6bd |
parent 11046 | 47a8c19ecb60 |
child 14604 | b86e6e4f3c58 |
--- a/QTfrontend/net/hwmap.cpp Wed Jan 24 21:05:34 2018 +0100 +++ b/QTfrontend/net/hwmap.cpp Wed Jan 24 22:20:10 2018 +0100 @@ -79,7 +79,7 @@ { quint8 *buf = (quint8*) readbuffer.constData(); QImage im(buf, 256, 128, QImage::Format_Mono); - im.setNumColors(2); + im.setColorCount(2); QPixmap px(QSize(256, 128)); QPixmap pxres(px.size());