diff options
| -rw-r--r-- | sigmodr/widgets/mapeditor/WorldMapPlacement.cpp | 4 | ||||
| -rw-r--r-- | sigmodr/widgets/mapeditor/WorldMapPlacement.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/widgets/mapeditor/WorldMapPlacement.cpp b/sigmodr/widgets/mapeditor/WorldMapPlacement.cpp index f6b8a881..964dfa7b 100644 --- a/sigmodr/widgets/mapeditor/WorldMapPlacement.cpp +++ b/sigmodr/widgets/mapeditor/WorldMapPlacement.cpp @@ -187,11 +187,11 @@ WorldMapPlacement::WorldMapPlacement(const QSize& size) } } -void WorldMapPlacement::addRect(const QRect& rect) +void WorldMapPlacement::addRect(const QRectF& rect) { if (m_cacheGood) return; - QQueue<QRect> queue; + QQueue<QRectF> queue; queue.enqueue(rect); while (queue.size()) { diff --git a/sigmodr/widgets/mapeditor/WorldMapPlacement.h b/sigmodr/widgets/mapeditor/WorldMapPlacement.h index d81cc731..697ac134 100644 --- a/sigmodr/widgets/mapeditor/WorldMapPlacement.h +++ b/sigmodr/widgets/mapeditor/WorldMapPlacement.h @@ -35,7 +35,7 @@ class SIGMODRWIDGETS_NO_EXPORT WorldMapPlacement public: WorldMapPlacement(const QSize& size); - void addRect(const QRect& rect); + void addRect(const QRectF& rect); QPoint find(const QPoint& point); |
