diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-08-06 06:25:09 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-08-06 06:25:09 (GMT) |
commit | 75698ca17add2101fcbeac0e694044307474f924 (patch) | |
tree | cbd14b8ed7670d61cc8cbeecb4d84fde9dea2071 /Swift/QtUI | |
parent | 7709b172620653a15f7358186914d1a2b8a5e9be (diff) | |
download | swift-contrib-75698ca17add2101fcbeac0e694044307474f924.zip swift-contrib-75698ca17add2101fcbeac0e694044307474f924.tar.bz2 |
Blocked onOperationReceived signal on no-ops
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp index fcb8ef1..2f7d544 100644 --- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp +++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp @@ -154,9 +154,7 @@ namespace Swift { WhiteboardDeleteOperation::ref deleteOp = boost::dynamic_pointer_cast<WhiteboardDeleteOperation>(operation); if (deleteOp) { - if (deleteOp->getPos() != -1) { - graphicsView->deleteItem(P2QSTRING(deleteOp->getElementID())); - } + graphicsView->deleteItem(P2QSTRING(deleteOp->getElementID())); } } |