QTfrontend/drawmapscene.cpp
changeset 7146 a822413207c9
parent 6952 7f70f37bbf08
child 7298 a5f2fa95e711
equal deleted inserted replaced
7145:1d1a14b39400 7146:a822413207c9
   269                 params.points.clear();
   269                 params.points.clear();
   270             }
   270             }
   271 
   271 
   272             quint8 penWidth = flags & 0x3f;
   272             quint8 penWidth = flags & 0x3f;
   273             m_pen.setWidth(deserializePenWidth(penWidth));
   273             m_pen.setWidth(deserializePenWidth(penWidth));
   274             if(flags & 0x40)
   274             params.erasing = flags & 0x40;
       
   275             if(params.erasing)
   275                 m_pen.setBrush(m_eraser);
   276                 m_pen.setBrush(m_eraser);
   276             else
   277             else
   277                 m_pen.setBrush(m_brush);
   278                 m_pen.setBrush(m_brush);
   278             params.width = penWidth;
   279             params.width = penWidth;
   279         }
   280         }