summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJekyll Wu <adaptee@gmail.com>2012-01-09 17:28:37 (GMT)
committerJekyll Wu <adaptee@gmail.com>2012-01-10 03:52:43 (GMT)
commitdad64e67e73df7a6968cfdfdd8741531ec381dc9 (patch)
tree94f554e99ff6d68699bb96fdc9114d68a4e466c5
parentd087f9667ae7def1bbb28cffe0a9cddf0394e863 (diff)
Change the default shortcut of 'Clear Scrollback and Reset' to Ctrl+Shift+K
The current default shortcut is Ctrl+Shift+X, which might be accidentally pressed when users intend to press Ctrl+Shift+C for copying or Ctrl+Shift+V for pasting. Scrollback is important asset, but it is impossible to recover once gone. So change the default shortcut to decrease the chance of accidents. FEATURE: 282593 FIXED-IN: 4.9 REVIEW: 103660
-rw-r--r--src/SessionController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SessionController.cpp b/src/SessionController.cpp
index 60d3f36..f3dc675 100644
--- a/src/SessionController.cpp
+++ b/src/SessionController.cpp
@@ -517,7 +517,7 @@ void SessionController::setupActions()
action = collection->addAction("clear-history-and-reset", this, SLOT(clearHistoryAndReset()));
action->setText(i18n("Clear Scrollback and Reset"));
action->setIcon(KIcon("edit-clear-history"));
- action->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_X));
+ action->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_K));
// Profile Options
action = collection->addAction("edit-current-profile", this, SLOT(editCurrentProfile()));