QTfrontend/net/hwmap.cpp
branchios-develop
changeset 13413 ba39a1d396c0
parent 12897 fc47fc4af6bd
child 14599 b86e6e4f3c58
--- a/QTfrontend/net/hwmap.cpp	Sun Jun 10 18:56:51 2018 +0200
+++ b/QTfrontend/net/hwmap.cpp	Sun Jun 10 19:12:26 2018 +0200
@@ -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());