Commit 51e6b3f4 by Alisa Jung

delete shortcut

parent f70eb5ee
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.5.1, 2015-11-21T20:51:27. -->
<!-- Written by QtCreator 3.5.1, 2015-11-21T21:01:34. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
......@@ -240,6 +240,8 @@ MainWindow::MainWindow(QWidget *parent)
connect(addCone, SIGNAL(triggered(bool)),controller, SLOT(addCone()));
connect(addTorus, SIGNAL(triggered(bool)),controller, SLOT(addTorus()));
connect(deletePrimitive, SIGNAL(triggered(bool)),controller, SLOT(deletePrimitive()));
deletePrimitive->setShortcut(QKeySequence(Qt::Key_Delete));
}
......
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