Commit 5a1f1d5e authored by Marco Bubke's avatar Marco Bubke
Browse files

Remove unused code in the selection tool of the formeditor

parent 138266e3
......@@ -188,21 +188,6 @@ void SelectionTool::keyPressEvent(QKeyEvent *event)
view()->changeToMoveTool();
view()->currentTool()->keyPressEvent(event);
break;
case Qt::Key_C:
if (event->modifiers().testFlag(Qt::ControlModifier)) {
copySelectedNodeToClipBoard();
break;
}
case Qt::Key_V:
if (event->modifiers().testFlag(Qt::ControlModifier)) {
pasteClipBoard();
break;
}
case Qt::Key_X:
if (event->modifiers().testFlag(Qt::ControlModifier)) {
cutSelectedNodeToClipBoard();
break;
}
}
}
......@@ -211,21 +196,6 @@ void SelectionTool::keyReleaseEvent(QKeyEvent * /*keyEvent*/)
}
void SelectionTool::copySelectedNodeToClipBoard()
{
// QClipboard *clipboard = QApplication::clipboard();
}
void SelectionTool::cutSelectedNodeToClipBoard()
{
// QClipboard *clipboard = QApplication::clipboard();
}
void SelectionTool::pasteClipBoard()
{
// QClipboard *clipboard = QApplication::clipboard();
}
void SelectionTool::setSelectOnlyContentItems(bool selectOnlyContentItems)
{
m_selectOnlyContentItems = selectOnlyContentItems;
......
......@@ -78,10 +78,6 @@ public:
void selectUnderPoint(QGraphicsSceneMouseEvent *event);
void copySelectedNodeToClipBoard();
void cutSelectedNodeToClipBoard();
void pasteClipBoard();
void setSelectOnlyContentItems(bool selectOnlyContentItems);
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment