--- a/gui.cpp Wed Mar 20 02:44:21 2013 +0200 +++ b/gui.cpp Wed Mar 20 03:22:21 2013 +0200 @@ -98,9 +98,8 @@ MAKE_ACTION (newLine, "New Line", "add-line", "Creates a new line.") MAKE_ACTION (newTriangle, "New Triangle", "add-triangle", "Creates a new triangle.") MAKE_ACTION (newQuad, sNewQuadText, "add-quad", "Creates a new quadrilateral.") - MAKE_ACTION (newCondLine, sNewCdLineText, "add-condline", "Creates a new conditional line."); - MAKE_ACTION (newComment, "New Comment", "add-comment", "Creates a new comment."); - MAKE_ACTION (newVector, "New Vector", "add-vector", "Creates a new vector.") + MAKE_ACTION (newCondLine, sNewCdLineText, "add-condline", "Creates a new conditional line.") + MAKE_ACTION (newComment, "New Comment", "add-comment", "Creates a new comment.") MAKE_ACTION (newVertex, "New Vertex", "add-vertex", "Creates a new vertex.") MAKE_ACTION (settings, "Settings", "settings", "Edit the settings of " APPNAME_DISPLAY ".") @@ -122,7 +121,6 @@ // things not implemented yet QAction* qaDisabledActions[] = { qAct_newSubfile, - qAct_newVector, qAct_cut, qAct_copy, qAct_paste, @@ -158,7 +156,6 @@ qInsertMenu->addAction (qAct_newQuad); // New Quad qInsertMenu->addAction (qAct_newCondLine); // New Conditional Line qInsertMenu->addAction (qAct_newComment); // New Comment - qInsertMenu->addAction (qAct_newVector); // New Vector qInsertMenu->addAction (qAct_newVertex); // New Vertex qEditMenu = menuBar ()->addMenu (tr ("&Edit")); @@ -196,7 +193,6 @@ qInsertToolBar->addAction (qAct_newQuad); qInsertToolBar->addAction (qAct_newCondLine); qInsertToolBar->addAction (qAct_newComment); - qInsertToolBar->addAction (qAct_newVector); qInsertToolBar->addAction (qAct_newVertex); addToolBar (qInsertToolBar); @@ -325,10 +321,6 @@ } -void ForgeWindow::slot_newVector () { - -} - void ForgeWindow::slot_newVertex () { AddObjectDialog::staticDialog (OBJ_Vertex, this); } @@ -469,10 +461,6 @@ static_cast<LDGibberish*> (obj)->zContents.chars()); break; - case OBJ_Vector: - zText.format ("%s", static_cast<LDVector*> (obj)->vPos.getStringRep (true).chars()); - break; - case OBJ_Vertex: zText.format ("%s", static_cast<LDVertex*> (obj)->vPosition.getStringRep (true).chars()); break;