equal
deleted
inserted
replaced
78 void DrawMapWidget::clear() |
78 void DrawMapWidget::clear() |
79 { |
79 { |
80 if(m_scene) m_scene->clearMap(); |
80 if(m_scene) m_scene->clearMap(); |
81 } |
81 } |
82 |
82 |
|
83 void DrawMapWidget::setErasing(bool erasing) |
|
84 { |
|
85 if(m_scene) m_scene->setErasing(erasing); |
|
86 } |
|
87 |
83 void DrawMapWidget::save(const QString & fileName) |
88 void DrawMapWidget::save(const QString & fileName) |
84 { |
89 { |
85 if(m_scene) |
90 if(m_scene) |
86 { |
91 { |
87 QFile file(fileName); |
92 QFile file(fileName); |