forked from qt-creator/qt-creator
The reformat document action isn't useful yet, removed for 1.2
This commit is contained in:
@@ -890,10 +890,6 @@ void CPPEditor::contextMenuEvent(QContextMenuEvent *e)
|
||||
foreach (QAction *action, contextMenu->actions())
|
||||
menu->addAction(action);
|
||||
|
||||
QAction *reformatDocument = new QAction(tr("Reformat Document"), menu);
|
||||
connect(reformatDocument, SIGNAL(triggered()), this, SLOT(reformatDocument()));
|
||||
menu->addAction(reformatDocument);
|
||||
|
||||
menu->exec(e->globalPos());
|
||||
delete menu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user