From fbcf42eedaac3d07130e855df71524c652ccc47d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Mon, 3 May 2010 17:06:49 +0200
Subject: [PATCH] Changed default shortcut for Insert Line Below Current Line

Use the Visual Studio shortcut instead of the Eclipse shortcut by
default. It seems to make a bit more sense in combination with
Ctrl+Shift+Return.
---
 src/plugins/texteditor/texteditoractionhandler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp
index 19e9438f5ec..eeb0b09d9a1 100644
--- a/src/plugins/texteditor/texteditoractionhandler.cpp
+++ b/src/plugins/texteditor/texteditoractionhandler.cpp
@@ -300,7 +300,7 @@ void TextEditorActionHandler::createActions()
 
     m_insertLineBelowAction = new QAction(tr("Insert Line Below Current Line"), this);
     command = am->registerAction(m_insertLineBelowAction, Constants::INSERT_LINE_BELOW, m_contextId);
-    command->setDefaultKeySequence(QKeySequence(tr("Shift+Return")));
+    command->setDefaultKeySequence(QKeySequence(tr("Ctrl+Return")));
     connect(m_insertLineBelowAction, SIGNAL(triggered()), this, SLOT(insertLineBelow()));
 }
 
-- 
GitLab