diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-30 00:51:43 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-30 00:51:43 -0400 |
| commit | 5d9d2c09fec55bc04dffa52b6b16e57178ad3059 (patch) | |
| tree | 77d8738ce8c868960f3f8fcb19fd778a527a31c4 | |
| parent | f397e691b85c4c090ed9fe3f2e1dad73c24bb73b (diff) | |
Don't set the scene rect to be the map view since its enforced now
| -rw-r--r-- | sigmodr/widgets/mapeditor/MapEditor.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sigmodr/widgets/mapeditor/MapEditor.cpp b/sigmodr/widgets/mapeditor/MapEditor.cpp index 535f673a..d6098b72 100644 --- a/sigmodr/widgets/mapeditor/MapEditor.cpp +++ b/sigmodr/widgets/mapeditor/MapEditor.cpp @@ -115,14 +115,12 @@ void MapEditor::setMapWidth(const int width) { m_map->setWidth(width); m_rect->setSize(m_map->width(), m_map->height()); - ui_view->setSceneRect(-10, -10, m_map->width() + 10, m_map->height() + 10); } void MapEditor::setMapHeight(const int height) { m_map->setHeight(height); m_rect->setSize(m_map->width(), m_map->height()); - ui_view->setSceneRect(-10, -10, m_map->width() + 10, m_map->height() + 10); } void MapEditor::setGridSize(const int gridSize) |
