diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-24 08:53:00 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-24 08:53:00 (GMT) |
commit | ed208c8ce62dea1bdec51e904d51afa5229363c5 (patch) | |
tree | dfbbcb7404f47b0868dc547d6e48b476fd40727e /Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp | |
parent | 8b01b8de0477d7c6bb8dd7dd834fd147c7f9b86d (diff) | |
download | swift-contrib-ed208c8ce62dea1bdec51e904d51afa5229363c5.zip swift-contrib-ed208c8ce62dea1bdec51e904d51afa5229363c5.tar.bz2 |
Commented out code handling filled hand line
Diffstat (limited to 'Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp')
-rw-r--r-- | Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp index b3f42a9..a2440ba 100644 --- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp +++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp @@ -253,6 +253,7 @@ namespace Swift { element->setID(lineItem->data(100).toString().toStdString()); el = element; } + FreehandLineItem* freehandLineItem = qgraphicsitem_cast<FreehandLineItem*>(item); if (freehandLineItem != 0) { WhiteboardFreehandPathElement::ref element = boost::make_shared<WhiteboardFreehandPathElement>(); @@ -281,7 +282,6 @@ namespace Swift { element->setBrushColor(Color(brushColor.red(), brushColor.green(), brushColor.blue(), brushColor.alpha())); element->setPenColor(Color(penColor.red(), penColor.green(), penColor.blue(), penColor.alpha())); element->setPenWidth(rectItem->pen().width()); - std::cout << penColor.red() << " " << brushColor.red() << std::endl; element->setID(rectItem->data(100).toString().toStdString()); el = element; |