The reformat document action isn't useful yet, removed for 1.2

This commit is contained in:
Thorbjørn Lindeijer
2009-06-04 11:57:58 +02:00
parent f9b628bafb
commit e54bf750d9

View File

@@ -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;
}