Fix closing of polygons.
authorTim Hutt <tdhutt@gmail.com>
Sun, 5 Dec 2010 22:09:34 +0000 (22:09 +0000)
committerTim Hutt <tdhutt@gmail.com>
Sun, 5 Dec 2010 22:09:34 +0000 (22:09 +0000)
commit4a4206a1732ebcb7328d254b48a7a5f627c92f09
tree30725b3c8896bdbe54151b528001b6e979d03d12
parent4aa58c5d9c525ebdc4ffb7baeff0a339b1092761
Fix closing of polygons.

QGraphicsPolygonItem uses QPainter::drawPolygon() which always closes
polygons.

That meant if you had an open path, it was always drawn closed (although
the cutting worked fine).
MainWindow.cpp