QTfrontend/ui/widget/drawmapwidget.cpp
changeset 10235 bafca1686867
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
equal deleted inserted replaced
10234:a3a200e35c6e 10235:bafca1686867
   116 void DrawMapWidget::clear()
   116 void DrawMapWidget::clear()
   117 {
   117 {
   118     if(m_scene) m_scene->clearMap();
   118     if(m_scene) m_scene->clearMap();
   119 }
   119 }
   120 
   120 
       
   121 void DrawMapWidget::optimize()
       
   122 {
       
   123     if(m_scene) m_scene->optimize();
       
   124 }
       
   125 
   121 void DrawMapWidget::setErasing(bool erasing)
   126 void DrawMapWidget::setErasing(bool erasing)
   122 {
   127 {
   123     if(m_scene) m_scene->setErasing(erasing);
   128     if(m_scene) m_scene->setErasing(erasing);
   124 }
   129 }
   125 
   130