Commit e089db4d authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed warning about non-existing group



Makes a currently non-functional 'Reformat' action visible.

Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@nokia.com>
parent 149b7fd5
......@@ -180,7 +180,6 @@ const char * const G_EDIT_OTHER = "QtCreator.Group.Edit.Other";
// advanced edit menu groups
const char * const G_EDIT_FORMAT = "QtCreator.Group.Edit.Format";
const char * const G_EDIT_REFORMAT = "QtCreator.Group.Edit.Reformat";
const char * const G_EDIT_COLLAPSING = "QtCreator.Group.Edit.Collapsing";
const char * const G_EDIT_FONT = "QtCreator.Group.Edit.Font";
const char * const G_EDIT_EDITOR = "QtCreator.Group.Edit.Editor";
......
......@@ -188,7 +188,7 @@ void TextEditorActionHandler::createActions()
command = am->registerAction(m_reformatAction, Constants::REFORMAT, m_contextId);
command->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+F")));
connect(m_reformatAction, SIGNAL(triggered()), this, SLOT(reformatAction()));
advancedMenu->addAction(command, Core::Constants::G_EDIT_REFORMAT);
advancedMenu->addAction(command, Core::Constants::G_EDIT_FORMAT);
m_cutLineAction = new QAction(tr("Cut &Line"), this);
command = am->registerAction(m_cutLineAction, Constants::CUT_LINE, m_contextId);
......
Supports Markdown
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