--- a/QTfrontend/ui/widget/drawmapwidget.cpp Fri Oct 11 17:43:13 2013 +0200
+++ b/QTfrontend/ui/widget/drawmapwidget.cpp Sat Jan 04 23:55:54 2014 +0400
@@ -123,6 +123,11 @@
if(m_scene) m_scene->setErasing(erasing);
}
+void DrawMapWidget::setPathType(DrawMapScene::PathType pathType)
+{
+ if(m_scene) m_scene->setPathType(pathType);
+}
+
void DrawMapWidget::save(const QString & fileName)
{
if(m_scene)
@@ -192,7 +197,7 @@
QGraphicsView::setScene(scene);
}
-// Why don't I ever recieve this event?
+// Why don't I ever receive this event?
void DrawMapView::enterEvent(QEvent *event)
{
if(m_scene)