diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-10-07 11:11:48 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-10-07 19:18:12 +0200 |
commit | ac7a6afd22c25bb831e3f9182127840ac91a2023 (patch) | |
tree | 5ac3c6ca3e2e624b61f20d96f4217c55d0d80faf | |
parent | 18c88131677b5511242d231d8811e561e0f4cf69 (diff) | |
download | qt-creator-ac7a6afd22c25bb831e3f9182127840ac91a2023.tar.gz |
Use CTRL+SHIFT+U as shortcut for the `Find Usages of a symbol'.
Done with mae
(cherry picked from commit 91f8a2992b79a4bbd40c1301bfd974a4df2eeecd)
-rw-r--r-- | src/plugins/cppeditor/cppplugin.cpp | 1 | ||||
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppplugin.cpp b/src/plugins/cppeditor/cppplugin.cpp index bd65c32666..3372fd336d 100644 --- a/src/plugins/cppeditor/cppplugin.cpp +++ b/src/plugins/cppeditor/cppplugin.cpp @@ -214,6 +214,7 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess QAction *findUsagesAction = new QAction(tr("Find Usages"), this); cmd = am->registerAction(findUsagesAction, Constants::FIND_USAGES, context); + cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+U"))); connect(findUsagesAction, SIGNAL(triggered()), this, SLOT(findUsages())); contextMenu->addAction(cmd); am->actionContainer(CppTools::Constants::M_TOOLS_CPP)->addAction(cmd); diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index ee16c23ac6..c998bf3d18 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -251,7 +251,6 @@ void TextEditorActionHandler::createActions() m_selectBlockDownAction= new QAction(tr("Select Block Down"), this); command = am->registerAction(m_selectBlockDownAction, Constants::SELECT_BLOCK_DOWN, m_contextId); - command->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+U"))); connect(m_selectBlockDownAction, SIGNAL(triggered()), this, SLOT(selectBlockDown())); advancedMenu->addAction(command, Core::Constants::G_EDIT_BLOCKS); |